]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/documentation-rules.make
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / stepmake / stepmake / documentation-rules.make
index 1f6d77316e2a02cfecb87f795176de1dab5179a6..b87e6428fae8c81239f9aa03b9195d116de4c864 100644 (file)
@@ -1,24 +1,15 @@
-# Docrules.make
-
 # special rules for the documentation section.
 # There are too many to add to the general rules
 
-.SUFFIXES: .1 .data .html .gif .xpm .tex .txt
+.SUFFIXES: .1 .data .html .gif .png .tex .txt .xpm
 
 $(outdir)/%.gif: %.xpm
        xpmtoppm $< | ppmtogif > $@
 
+$(outdir)/%.png: %.xpm
+       xpmtoppm $< | pnmtopng > $@
+
+# use striproff?
 $(outdir)/%.txt: $(outdir)/%.1
        troff -man -Tascii $< | grotty -b -u -o > $@
 
-#urg should generalise and move Lilypond -> StepMake
-$(outdir)/%.html: %.data $(depth)/VERSION
-       $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ $<
-       $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $@
-
-$(outdir)/%.tex: %.data $(depth)/VERSION
-       $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ --latex $<
-
-include $(stepdir)/yodl-rules.make
-include $(stepdir)/texinfo-rules.make
-