]> git.donarmstrong.com Git - lilypond.git/commitdiff
Remove any broken lily-*.tex files before
authorjanneke <janneke>
Tue, 24 Feb 2004 17:09:24 +0000 (17:09 +0000)
committerjanneke <janneke>
Tue, 24 Feb 2004 17:09:24 +0000 (17:09 +0000)
lilypond-book run.

ChangeLog
make/ly-rules.make

index 6574fef12ab8e2cd202ff71c2900b53915c37e58..d3f55a571bb0ca41d7a5d865581e1d161b35d66a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-02-24  Jan Nieuwenhuizen  <janneke@gnu.org>
 
+       * make/ly-rules.make: Remove any broken lily-*.tex files before
+       lilypond-book run.
+
        * stepmake/stepmake/c++-vars.make (EXTRA_CXXFLAGS): Remove -pipe
        comment.
 
index 1aed0614e27c96bf236e6804ced2ff6ea6b8782b..8e8e9a121e711d3768456484c355fd902e8f8ebc 100644 (file)
@@ -10,11 +10,13 @@ $(outdir)/%.latex: %.doc
 # it is not, for --srcdir builds
 $(outdir)/%.texi: %.tely
        if [ -f $@ ]; then chmod a+w $@; fi
+       rm -f $$(grep -LF '\lilypondend' out/lily-*.tex)
        $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) $<
        chmod -w $@
 
 $(outdir)/%.texi: $(outdir)/%.tely
        if [ -f $@ ]; then chmod a+w $@; fi
+       rm -f $$(grep -LF '\lilypondend' out/lily-*.tex)
        $(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.