summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2005-04-13 23:10:59 +0000
committerJan Nieuwenhuizen <janneke@gnu.org>2005-04-13 23:10:59 +0000
commitef61cb7775f33d4a6cf46f2e54e07736ac8f5d09 (patch)
tree10f519f439b10e783fc110db6959ad748c8d472f /make
parent0efdf125cb583a8da56486dec9e6be01998cab5b (diff)
($(outdir)/%.pdf): Bugfix.
Diffstat (limited to 'make')
-rw-r--r--make/ly-rules.make15
1 files changed, 14 insertions, 1 deletions
diff --git a/make/ly-rules.make b/make/ly-rules.make
index 71c279a155..d276e188ef 100644
--- a/make/ly-rules.make
+++ b/make/ly-rules.make
@@ -34,7 +34,20 @@ $(outdir)/%-book.ps: $(outdir)/%.ps
pstops '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@
$(outdir)/%.pdf: $(outdir)/%.dvi
- $(cd $(outdir) && dvips $(DVIPS_FLAGS) -o $(notdir $@).pdfps -t $(DVIPS_PAPERSIZE) $(notdir $<) \
+ $(shell cd $(outdir) \
+ && dvips $(DVIPS_FLAGS) -t $(DVIPS_PAPERSIZE) \
+ -o $(notdir $@).pdfps $(notdir $<) \
+ && gs -dCompatibilityLevel=1.2\
+ -sPAPERSIZE=a4\
+ -q\
+ -dNOPAUSE\
+ -dBATCH\
+ -sDEVICE=pdfwrite\
+ -sOutputFile=$(notdir $@)\
+ -dCompatibilityLevel=1.2\
+ -sPAPERSIZE=a4\
+ -c .setpdfwrite\
+ -f $(notdir $@).pdfps)
$(outdir)/%.html.omf: %.tely
$(call GENERATE_OMF,html)