From: Han-Wen Nienhuys Date: Sun, 30 Jan 2005 23:23:35 +0000 (+0000) Subject: ($(outdir)/%.texi): detect new EOF marker. X-Git-Tag: release/2.5.14~189 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ed7d251f372944d8fdb2d8a212e1080316004776;p=lilypond.git ($(outdir)/%.texi): detect new EOF marker. --- diff --git a/make/ly-rules.make b/make/ly-rules.make index 0ab32491c1..a49eed57e1 100644 --- a/make/ly-rules.make +++ b/make/ly-rules.make @@ -7,11 +7,11 @@ $(outdir)/%.latex: %.doc # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir. # it is not, for --srcdir builds $(outdir)/%.texi: %.tely - rm -f $$(grep -LF '\lilypondend' $(outdir)/lily-*.tex 2>/dev/null) + rm -f $$(grep -LF '% eof' $(outdir)/lily-*systems.tex 2>/dev/null) $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) $< $(outdir)/%.texi: $(outdir)/%.tely - rm -f $$(grep -LF '\lilypondend' $(outdir)/lily-*.tex 2>/dev/null) + rm -f $$(grep -LF '% eof' $(outdir)/lily-*systems.tex 2>/dev/null) $(PYTHON) $(LILYPOND_BOOK) $(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. diff --git a/scm/framework-eps.scm b/scm/framework-eps.scm index 28c53d66de..75f283fd6b 100644 --- a/scm/framework-eps.scm +++ b/scm/framework-eps.scm @@ -56,8 +56,8 @@ basename (1+ c)) texi-system-port)) (iota (length stencils))) - (display "@c eof" texi-system-port) - (display "% eof" tex-system-port) + (display "@c eof - 'eof' is a Makefile marker; don't remove. " texi-system-port) + (display "% eof - 'eof' is Makefile marker; don't remove. " tex-system-port) (dump-infinite-stack-EPS stencils)) (postprocess-output book framework-eps-module