]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/tex-rules.make
patch::: 1.3.131.jcn1
[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 $(outdir)/%.ps: $(outdir)/%.dvi
17         cd $(outdir) && dvips -ta4 -o $(@F) $(<F)
18
19 $(outdir)-$(PAPERSIZE)/%.ps: $(outdir)-$(PAPERSIZE)/%.dvi
20         cd $(outdir)-$(PAPERSIZE) && dvips -t$(PAPERSIZE) -o $(@F) $(<F)
21