]> 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 cdda14839a6a9be72a327724e6a64c13dbbf2231..032d3a4a380d3576acff6b7f9bc69a116e2cb763 100644 (file)
@@ -3,10 +3,18 @@
 .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
@@ -14,8 +22,10 @@ $(outdir)/%.dvi:     $(outdir)/%.texi
        cd $(outdir); texi2dvi ../$< 
 
 $(outdir)/%.txt: $(outdir)/%.texi
-       $(MAKEINFO) --no-split --no-headers --output $@ $<
+       $(MAKEINFO) -I../  --no-split --no-headers --output $@ $<
 
 $(outdir)/%.texi: %.texi
        cp $< $@
 
+
+