X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=stepmake%2Fstepmake%2Ftexinfo-vars.make;h=d36ff83b81db972664de69f49987e9341cab6a6c;hb=ece2e45d587f63565e81af44e1937ebe1f5e47a8;hp=3a7e7ae04c571c7f299ec73fe9f13676e636ae5d;hpb=e4a2733b4c0ab484305dc19fc598d70a9631539b;p=lilypond.git diff --git a/stepmake/stepmake/texinfo-vars.make b/stepmake/stepmake/texinfo-vars.make index 3a7e7ae04c..d36ff83b81 100644 --- a/stepmake/stepmake/texinfo-vars.make +++ b/stepmake/stepmake/texinfo-vars.make @@ -1,4 +1,24 @@ -TEXI_FILES = $(wildcard *.texi) +TEXI_FILES = $(call src-wildcard,*.texi) -EXTRA_DIST_FILES += $(TEXI_FILES) +ALL_SOURCES += $(TEXI_FILES) + +TEXINFO_SOURCES = $(TEXI_FILES) + +OUTTXT_FILES += $(addprefix $(outdir)/,$(TEXI_FILES:.texi=.txt)) + +GENERATE_OMF = $(PYTHON) $(buildscript-dir)/texi2omf.py --format $(1) --location $(webdir)/$(tree-dir)/out-www/$(notdir $(basename $@)) --version $(TOPLEVEL_VERSION) $< > $@ + +TEXINFO_PAPERSIZE_OPTION= $(if $(findstring $(PAPERSIZE),a4),,-t @afourpaper) + +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)$(infodir) ; \ + $(MAKE) INSTALLATION_OUT_DIR=$(infodir) \ + depth=$(depth) INSTALLATION_OUT_FILES="$(INFO_INSTALL_FILES)" \ + -f $(stepdir)/install-out.sub.make,true)