From df0085a0d6d4079566e46f7ff3f4565ac725e9b8 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 13 Apr 2005 15:29:00 +0000 Subject: [PATCH] * make/lysdoc-targets.make (local-WWW): remove ps.gz target. * make/ly-vars.make (DVIPS_FLAGS): don't load .map file. * make/lysdoc-targets.make: .texi is .PRECIOUS --- ChangeLog | 2 ++ input/regression/GNUmakefile | 2 -- make/ly-rules.make | 8 +++++--- make/ly-vars.make | 2 +- make/lysdoc-targets.make | 4 ++-- scripts/GNUmakefile | 2 +- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index dad0b8b4c8..6ba4f587f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-04-13 Han-Wen Nienhuys + * make/lysdoc-targets.make (local-WWW): remove ps.gz target. + * Documentation/user/changing-defaults.itely (Font selection): document font-name. diff --git a/input/regression/GNUmakefile b/input/regression/GNUmakefile index 220219881a..a0db49332a 100644 --- a/input/regression/GNUmakefile +++ b/input/regression/GNUmakefile @@ -3,11 +3,9 @@ depth = ../.. STEPMAKE_TEMPLATES=documentation texinfo tex LOCALSTEPMAKE_TEMPLATES=lilypond ly lysdoc - include $(depth)/make/stepmake.make TITLE=LilyPond Regression Tests - local-clean: local-delete # have to do it in 2 steps to prevent diff --git a/make/ly-rules.make b/make/ly-rules.make index 4734f594c8..5048f717f4 100644 --- a/make/ly-rules.make +++ b/make/ly-rules.make @@ -12,7 +12,7 @@ $(outdir)/%.texi: %.tely $(outdir)/%.texi: $(outdir)/%.tely rm -f $$(grep -LF '% eof' $(outdir)/lily-*systems.tex 2>/dev/null) - $(PYTHON) $(LILYPOND_BOOK) --psfonts=$(basename $<).fonts.ps $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) $< + $(PYTHON) $(LILYPOND_BOOK) --psfonts=$(notdir $(basename $<)).fonts.ps $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) $< # # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE. # rm -f $< @@ -34,10 +34,12 @@ $(outdir)/%-book.ps: $(outdir)/%.ps pstops '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@ $(outdir)/%.pdf: $(outdir)/%.dvi - dvips $(DVIPS_FLAGS) -o $@.pdfps -t $(DVIPS_PAPERSIZE) $< + $(cd $(outdir) && dvips $(DVIPS_FLAGS) -o $(notdir $@).pdfps -t $(DVIPS_PAPERSIZE) $(notdir $<) \ + && gs -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$(notdir $@) -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -c .setpdfwrite -f $(notdir $@).pdfps ) + # without -dSAFER # gs 8.15 complains of safety of loading a ttf directly - gs -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$@ -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -c .setpdfwrite -f $@.pdfps + $(outdir)/%.html.omf: %.tely $(call GENERATE_OMF,html) diff --git a/make/ly-vars.make b/make/ly-vars.make index 26b8e461f1..7f574563db 100644 --- a/make/ly-vars.make +++ b/make/ly-vars.make @@ -17,4 +17,4 @@ TEXINFO_SOURCES += $(TELY_FILES) $(ITELY_FILES) $(ITEXI_FILES) EXTRA_DIST_FILES +=$(TELY_FILES) $(LY_FILES) $(ITEXI_FILES) $(ITELY_FILES) $(ILY_FILES) -DVIPS_FLAGS= -h $(subst dvi,fonts.ps,$<) +DVIPS_FLAGS= -h $(subst pdf,fonts.ps,$(subst .ps,.fonts.ps, $(notdir $@ ))) diff --git a/make/lysdoc-targets.make b/make/lysdoc-targets.make index 147ee6366f..090c6c753c 100644 --- a/make/lysdoc-targets.make +++ b/make/lysdoc-targets.make @@ -1,5 +1,5 @@ -local-WWW: $(outdir)/$(NAME).html $(outdir)/$(NAME).ps.gz $(outdir)/$(NAME).pdf +local-WWW: $(outdir)/$(NAME).html $(outdir)/$(NAME).pdf -.PRECIOUS: $(outdir)/$(NAME).texi +#.PRECIOUS: $(outdir)/$(NAME).texi diff --git a/scripts/GNUmakefile b/scripts/GNUmakefile index ffb5eb4f65..b0d99517a1 100644 --- a/scripts/GNUmakefile +++ b/scripts/GNUmakefile @@ -1,6 +1,6 @@ depth = .. -SEXECUTABLES=convert-ly lilypond-book abc2ly etf2ly mup2ly midi2ly ps2png lilypond-pdfpc-helper lilypond-extract-fonts +SEXECUTABLES=convert-ly lilypond-book abc2ly etf2ly mup2ly midi2ly ps2png lilypond-pdfpc-helper STEPMAKE_TEMPLATES=script help2man po LOCALSTEPMAKE_TEMPLATES = lilypond -- 2.39.5