bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1821 in lilypond: GUB argument list too long


From: Mike Solomon
Subject: Re: Issue 1821 in lilypond: GUB argument list too long
Date: Tue, 16 Aug 2011 13:06:11 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]