]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/generic-rules.make
fb05e13e3a640ce515e482ba76d1e52817ce952a
[lilypond.git] / stepmake / stepmake / generic-rules.make
1 # title    generic make rules
2 # file     make/Rules.make
3
4 # this is supposed to clear all suffixes:
5 .SUFFIXES:
6
7
8
9 $(outdir)/%: %.m4
10         $(M4) $< > $@
11
12 %.dep:
13         touch $@
14
15 %.gz: %
16         gzip -c9 $< > $@
17
18 # bit docrules, these...
19 $(outdir)/%.dvi: $(outdir)/%.tex
20         (cd $(outdir); tex \\nonstopmode \\input $(<F))
21
22 $(outdir)/%.dvi: $(outdir)/%.latex
23         (cd $(outdir); \
24           latex \\nonstopmode \\input $(<F);\
25           bibtex $(basename $(<F));\
26           latex \\nonstopmode \\input $(<F);\
27           latex \\nonstopmode \\input $(<F);\
28         )
29
30 $(outdir)/%.ps: $(outdir)/%.dvi
31         dvips -ta4 -o $@ $<
32