]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/texinfo-vars.make
Change Info docs setup and clean up Documentation/user/GNUmakefile
[lilypond.git] / stepmake / stepmake / texinfo-vars.make
index 30451cef6f9eb954f774c6865d43ebb36e35926d..d36ff83b81db972664de69f49987e9341cab6a6c 100644 (file)
@@ -11,13 +11,14 @@ GENERATE_OMF = $(PYTHON) $(buildscript-dir)/texi2omf.py --format $(1) --location
 
 TEXINFO_PAPERSIZE_OPTION= $(if $(findstring $(PAPERSIZE),a4),,-t @afourpaper)
 
-MAKEINFO = LANG= $(MAKEINFO_PROGRAM)  --enable-encoding
+MAKEINFO_FLAGS = --enable-encoding
+MAKEINFO = LANG= $(MAKEINFO_PROGRAM) $(MAKEINFO_FLAGS)
 
 
 # info stuff
 INFO_INSTALL_FILES = $(wildcard $(addsuffix *, $(INFO_FILES)))
 INFO_INSTALL_COMMAND =$(if $(INFO_INSTALL_FILES),\
-       $(INSTALLPY) -d $(DESTDIR)$(package_infodir) ; \
-       $(MAKE) INSTALLATION_OUT_DIR=$(package_infodir) \
+       $(INSTALLPY) -d $(DESTDIR)$(infodir) ; \
+       $(MAKE) INSTALLATION_OUT_DIR=$(infodir) \
                depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" \
                -f $(stepdir)/install-out.sub.make,true)