]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/documentation-rules.make
e7ac7462470d4b4b630b3fc42fb56a56d1b60920
[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 # use striproff?
12 $(outdir)/%.txt: $(outdir)/%.1
13         troff -man -Tascii $< | grotty -b -u -o > $@
14
15 #urg should generalise and move Lilypond -> StepMake
16 $(outdir)/%.html: %.data $(depth)/VERSION
17         $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ $<
18         $(PYTHON) $(step-bindir)/add-html-footer.py --package=$(topdir) $@
19
20 $(outdir)/%.tex: %.data $(depth)/VERSION
21         $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ --latex $<
22
23 include $(stepdir)/yodl-rules.make
24 include $(stepdir)/texinfo-rules.make
25