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