]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/Rules.make
release: 1.0.1
[lilypond.git] / stepmake / stepmake / 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 $(outdir)/%: %.m4
8         $(M4) $< > $@
9
10 %.dep:
11         touch $@
12
13 %.gz: %
14         gzip -c9 $< > $@
15
16 # bit docrules, these...
17 $(outdir)/%.dvi: $(outdir)/%.tex
18         (cd $(outdir); tex \\nonstopmode \\input $(<F))
19
20 $(outdir)/%.dvi: $(outdir)/%.latex
21         (cd $(outdir); \
22           latex \\nonstopmode \\input $(<F);\
23           bibtex $(basename $(<F));\
24           latex \\nonstopmode \\input $(<F);\
25           latex \\nonstopmode \\input $(<F);\
26         )
27
28 $(outdir)/%.ps: $(outdir)/%.dvi
29         dvips -ta4 -o $@ $<
30
31
32 # hmm, always include these, or include via package/make/Rules.make?
33 include $(stepdir)/Substitute.make
34 include $(make-dir)/Rules.make
35
36 $(outdir)/%: %.in
37         rm -f $@
38         cat $< | $(sed-atfiles) | $(sed-atvariables) > $@
39