]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/texinfo-rules.make
patch::: 1.3.106.jcn2
[lilypond.git] / stepmake / stepmake / texinfo-rules.make
index f85d601f8076eb047302495eb04fe753f2f22f27..032d3a4a380d3576acff6b7f9bc69a116e2cb763 100644 (file)
@@ -3,12 +3,19 @@
 .SUFFIXES: .html .info .texi .texinfo
 
 $(outdir)/%.info: $(outdir)/%.texi
-       makeinfo --output=$@ $<
+       -$(MAKEINFO) --force --output=$@ $<
 
-$(outdir)/%.html:      $(outdir)/%.texi
-       -makeinfo --force --output=$@ --html --no-headers $< 
+$(outdir)/%.html: $(outdir)/%.texi
+       -$(MAKEINFO) --force --output=$@ --html --no-split --no-headers $<
+# we want footers even if website builds (or is built) partly
        $(footify) $@
 
+# Generic rule not possible?
+$(outdir)/%/%.html: $(outdir)/%.texi
+       -$(MAKEINFO) --force --output=$@ --html $<
+# we want footers even if website builds (or is built) partly
+       $(deep-footify) $(sort $(wildcard $(outdir)/$(*F)/*.html))
+
 $(outdir)/%.dvi:       $(outdir)/%.texi
 # --clean only in >= 3.12s
 # cd $(outdir); texi2dvi --clean ../$< 
@@ -20,3 +27,5 @@ $(outdir)/%.txt: $(outdir)/%.texi
 $(outdir)/%.texi: %.texi
        cp $< $@
 
+
+