From a1344e55b5c00f84fd0b07c53a175bf2855d00b1 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Wed, 2 Jan 2008 01:40:34 -0200 Subject: [PATCH] Use $^ for snippet construction. This should fix the srcdir != builddir case. --- input/lsr/GNUmakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/input/lsr/GNUmakefile b/input/lsr/GNUmakefile index 79f9af40f3..ba075019aa 100644 --- a/input/lsr/GNUmakefile +++ b/input/lsr/GNUmakefile @@ -12,12 +12,11 @@ IN_ITELY_FILES = $(call src-wildcard,*-intro.itely) GENERATED_ITELY_FILES = $(IN_ITELY_FILES:%-intro.itely=$(outdir)/%.itely) $(outdir)/%.itely: %-intro.itely %.snippet-list - xargs $(PYTHON) $(buildscript-dir)/lys-to-tely.py --name=$@ --template=$< < $*.snippet-list + xargs $(PYTHON) $(buildscript-dir)/lys-to-tely.py --name=$@ --template=$< < $(filter %.snippet-list, $^) $(outdir)/snippets.texi: snippets.tely $(GENERATED_ITELY_FILES) $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BINARY) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) $< -$(outdir)/snippets-big-page.html: $(outdir)/snippets.texi $(OUT_PNG_IMAGES) $(MAKEINFO) -I$(outdir) --output=$@ --css-include=$(top-src-dir)/Documentation/texinfo.css --html --no-split --no-headers $< $(outdir)/snippets/index.html: $(outdir)/snippets.texi $(OUT_PNG_IMAGES) $(OUT_EPS_IMAGES) -- 2.39.2