]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/Documentation_rules.make
release: 1.0.1
[lilypond.git] / stepmake / stepmake / Documentation_rules.make
1 # Docrules.make
2
3 # special rules for the documentation section.
4 # There are too many to add to the general rules
5
6 .SUFFIXES: .1 .data .html .gif .xpm .tex .txt
7
8 $(outdir)/%.gif: %.xpm
9         xpmtoppm $< | ppmtogif > $@
10
11 $(outdir)/%.txt: $(outdir)/%.1
12         troff -man -Tascii $< | grotty -b -u -o > $@
13
14 #urg should generalise and move Lilypond -> StepMake
15 $(outdir)/%.html: %.data $(depth)/VERSION
16         $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ $<
17         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $@
18
19 $(outdir)/%.tex: %.data $(depth)/VERSION
20         $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ --latex $<
21
22 include $(stepdir)/Yodl_rules.make
23 include $(stepdir)/Texinfo_rules.make
24 -include $(make-dir)/Docrules.make
25