On Aug 16, 2011, at 12:58 PM, Reinhold Kainhofer wrote: > Am Tuesday, 16. August 2011, 12:47:13 schrieb Mike Solomon: >> On Aug 16, 2011, at 12:06 PM, David Kastrup wrote: >>> If we can't pass the filenames to a call of lys-to-tely because of >>> command line length limits, I don't see us passing the filenames to >>> "echo" or similar shell commands more easily in order to write them to a >>> file. >> >> The filenames can be written to a file via a python script, something like: > > ... and how do you get the list to the python script?
With the script I wrote before, just put something in scripts/build called long-file-list-to-file.py and then in lysdoc-rules.make : $(outdir)/collated-files.tely: $(FOO) $(LONG_FILE_LIST_TO_FILE) "." $(outdir)/collated-files.tely: $(COLLATED_FILES) $(LYS_TO_TELY) --name=$(outdir)/collated-files.tely --title="$(TITLE)" --author="$(AUTHOR)" --files=$(FOO) Note that the above is pseudocode - I have no clue how make actually works. Cheers, MS _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond