]> git.donarmstrong.com Git - lilypond.git/commitdiff
Make: Move comments out of the receipe; We don't want them to be passed to the shell
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 17 Sep 2011 13:06:08 +0000 (15:06 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 17 Sep 2011 19:22:57 +0000 (21:22 +0200)
make/lysdoc-rules.make

index e8fe8a182eda44a271fab1c496cb151a2140a6da..001148aec2bd8ef09f83f8dd507e27fb976b66bb 100644 (file)
@@ -1,7 +1,9 @@
+# We can't print the list in one go, as it might be longer than a
+# shell command is allowed (as of linux 2.6.3x >131000 chars)
+# Split it up into 10 300-element chunks, and one chunk containing the rest
+# if we have more than 3000 elements.
 $(outdir)/collated-files.list: $(COLLATED_FILES)
        echo "(Re-)Generating $@"
-       # We can't print the list in one go, as it might be longer than a
-       # shell command is allowed (as of linux 2.6.3x >131000 chars)
        @echo $(wordlist    1, 299,$^)>$@
        @echo $(wordlist  300, 599,$^)>>$@
        @echo $(wordlist  600, 899,$^)>>$@
@@ -12,8 +14,7 @@ $(outdir)/collated-files.list: $(COLLATED_FILES)
        @echo $(wordlist 2100,2399,$^)>>$@
        @echo $(wordlist 2400,2699,$^)>>$@
        @echo $(wordlist 2700,2999,$^)>>$@
-       # Print the rest, just in case the list is that long
-       echo $(wordlist 3000,$(words $^),$^)>>$@
+       @echo $(wordlist 3000,$(words $^),$^)>>$@
 
 $(outdir)/collated-files.tely: $(outdir)/collated-files.list
        $(LYS_TO_TELY) --name=$(outdir)/collated-files.tely --title="$(TITLE)" --author="$(AUTHOR)" --input-filename=$^