]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/ly-rules.make
Fifth section done.
[lilypond.git] / make / ly-rules.make
index adadab09425fca24515ce7b2b241fb805aede0ed..0e899a77719fc1e72edad6e38e1724590684e6e2 100644 (file)
@@ -10,13 +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 2>/dev/null)
+       rm -f $$(grep -LF '\lilypondend' $(outdir)/lily-*.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) $<
        chmod -w $@
 
 $(outdir)/%.texi: $(outdir)/%.tely
        if [ -f $@ ]; then chmod a+w $@; fi
-       rm -f $$(grep -LF '\lilypondend' out/lily-*.tex 2>/dev/null)
+       rm -f $$(grep -LF '\lilypondend' $(outdir)/lily-*.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.