]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/texinfo-vars.make
* lily/general-scheme.cc: Compile fixes: include wchar.h, string.h.
[lilypond.git] / stepmake / stepmake / texinfo-vars.make
index fe2c8244c9c5ea2806996da4ddc2e98234160ab4..ef46fa53f933a8884a997e4b0601f87952da9c01 100644 (file)
@@ -7,6 +7,17 @@ TEXINFO_SOURCES = $(TEXI_FILES)
 
 OUTTXT_FILES += $(addprefix $(outdir)/,$(TEXI_FILES:.texi=.txt))
 
-GENERATE_OMF = $(PYTHON) $(depth)/buildscripts/texi2omf.py --format $(1) --location $(local_package_docdir)/$(current-relative-dir)/out-www/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
+GENERATE_OMF = $(PYTHON) $(depth)/buildscripts/texi2omf.py --format $(1) --location $(package_docdir)/html/$(current-relative-dir)/out-www/$(notdir $(basename $@))  --version $(TOPLEVEL_VERSION) $< > $@
 
+TEXINFO_PAPERSIZE_OPTION= $(if $(findstring $(PAPERSIZE),a4),,-t @afourpaper)
 
+MAKEINFO = LANG= $(MAKEINFO_PROGRAM)  --enable-encoding
+
+
+# info stuff
+INFO_INSTALL_FILES = $(wildcard $(addsuffix *, $(INFO_FILES)))
+INFO_INSTALL_COMMAND =$(if $(INFO_INSTALL_FILES),\
+       $(INSTALL) -d $(DESTDIR)$(package_infodir) ; \
+       $(MAKE) INSTALLATION_OUT_DIR=$(package_infodir) \
+               depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" \
+               -f $(stepdir)/install-out.sub.make,true)