]> git.donarmstrong.com Git - lilypond.git/commitdiff
($(outdir)/%.texi): detect new EOF marker.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 30 Jan 2005 23:23:35 +0000 (23:23 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 30 Jan 2005 23:23:35 +0000 (23:23 +0000)
make/ly-rules.make
scm/framework-eps.scm

index 0ab32491c1c750d57bec34a96e66a404cdfcde98..a49eed57e12f1fcd675dacda9889072b17fd60d3 100644 (file)
@@ -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.
index 28c53d66de79a08f3686bb1946c531c884939170..75f283fd6be718c5d744ca482a2f90fdedc71334 100644 (file)
@@ -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