]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.0.1
authorfred <fred>
Fri, 31 Jul 1998 11:49:03 +0000 (11:49 +0000)
committerfred <fred>
Fri, 31 Jul 1998 11:49:03 +0000 (11:49 +0000)
stepmake/stepmake/Documentation_rules.make [new file with mode: 0644]

diff --git a/stepmake/stepmake/Documentation_rules.make b/stepmake/stepmake/Documentation_rules.make
new file mode 100644 (file)
index 0000000..6e98289
--- /dev/null
@@ -0,0 +1,25 @@
+# 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
+
+$(outdir)/%.gif: %.xpm
+       xpmtoppm $< | ppmtogif > $@
+
+$(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
+-include $(make-dir)/Docrules.make
+