From ed7d251f372944d8fdb2d8a212e1080316004776 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 30 Jan 2005 23:23:35 +0000 Subject: [PATCH] ($(outdir)/%.texi): detect new EOF marker. --- make/ly-rules.make | 4 ++-- scm/framework-eps.scm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.2