]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/tex-rules.make
482957c5585f07011bc0423855feb639c058cb3b
[lilypond.git] / stepmake / stepmake / tex-rules.make
1
2 $(outdir)/%.tex: %.tex
3         cp $< $@
4
5 $(outdir)/%.dvi: $(outdir)/%.tex
6         (cd $(outdir); tex \\nonstopmode \\input $(<F))
7
8 $(outdir)/%.dvi: $(outdir)/%.latex
9         (cd $(outdir)&& \
10           latex \\nonstopmode \\input $(<F)&&\
11           (bibtex $(basename $(<F)) || true) && \
12           latex \\nonstopmode \\input $(<F)&&\
13           (makeindex $(basename $(<F)) || true) && \
14           latex \\nonstopmode \\input $(<F) )
15
16
17 $(outdir)/%.ps: $(outdir)/%.dvi
18         cd $(outdir) && dvips -t $(DVIPS_PAPERSIZE) -o $(@F) $(<F)
19
20 $(outdir)-$(PAPERSIZE)/%.ps: $(outdir)-$(PAPERSIZE)/%.dvi
21         cd $(outdir)-$(PAPERSIZE) && dvips -t$(PAPERSIZE) -o $(@F) $(<F)
22