3 # special rules for the documentation section.
4 # There are too many to add to the general rules
6 .SUFFIXES: .1 .data .html .gif .png .tex .txt .xpm
9 xpmtoppm $< | ppmtogif > $@
11 $(outdir)/%.png: %.xpm
12 xpmtoppm $< | pnmtopng > $@
15 $(outdir)/%.txt: $(outdir)/%.1
16 troff -man -Tascii $< | grotty -b -u -o > $@
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) $@
23 $(outdir)/%.tex: %.data $(depth)/VERSION
24 $(PYTHON) $(step-bindir)/table-to-html.py --package=$(topdir) -o $@ --latex $<
26 include $(stepdir)/yodl-rules.make
27 include $(stepdir)/texinfo-rules.make