]> git.donarmstrong.com Git - lilypond.git/commitdiff
Use $^ for snippet construction.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 2 Jan 2008 03:40:34 +0000 (01:40 -0200)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Wed, 2 Jan 2008 03:40:34 +0000 (01:40 -0200)
This should fix the srcdir != builddir case.

input/lsr/GNUmakefile

index 79f9af40f32dc809febad088ce14cacee5b34eae..ba075019aaf0084a85607ecb0b71a23271668774 100644 (file)
@@ -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)