Comment #4 on issue 1821 by [email protected]: GUB argument list too long
http://code.google.com/p/lilypond/issues/detail?id=1821

Okay, here's a proof-of-concept: In lysdoc-rules.make, instead of passing the list of filenames directly to lys-to-tely, we simply loop over them and write them one-by-one to $(outidr)/collated-files.list. This one file is then passed to lys-to-tely. In particular, lysdoc-rules.make would look like:

================

$(outdir)/collated-files.list: $(COLLATED_FILES)
        echo "Generating $(outdir)/collated-files.list..."
        $(foreach f,$(COLLATED_FILES),@echo $f >> $(outdir)/collated-files.txt)

$(outdir)/collated-files.tely: $(outdir)/collated-files.list
$(LYS_TO_TELY) --name=$(outdir)/collated-files.tely --title="$(TITLE)" --author="$(AUTHOR)" --filename-file $^

================

Note that the --filename-file (or how ever we will call it) is NOT yet implemented.
Cheers,
Reinhold



_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to