]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/tex-rules.make
($(outdir)/%.pdf): add DVIPS_FLAGS. This will
[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 $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) -o $(@F) $(<F)
19
20 $(outdir)-$(PAPERSIZE)/%.ps: $(outdir)-$(PAPERSIZE)/%.dvi
21         cd $(outdir)-$(PAPERSIZE) && dvips $(DVIPS_FLAGS)  -t$(PAPERSIZE) -o $(@F) $(<F)
22