]> git.donarmstrong.com Git - lilypond.git/commit
Fix 1821: Write pathes for ly-to-tely to a separate file rather than passing as cmd...
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 30 Aug 2011 11:42:39 +0000 (13:42 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 1 Sep 2011 16:28:24 +0000 (18:28 +0200)
commit623197430a7ed9b755d92cb053b64c21678af803
treebb4079e8a065feeac2814c8e67dd02200d19d940
parent022d5c7ef759c586e3ca6478cf5f1b5d56d31778
Fix 1821: Write pathes for ly-to-tely to a separate file rather than passing as cmd line args

For out-of-source builds, the collated files list has the whole absolute path
for each and every file (>1000 for our regtests), which blows up the cmd line
length to values that don't work with the shell (<=131000 chars allowed...).

This patch takes the list in the makefile and writes the filenames in several
patches (300 at a time for now) to a .list file and then passes just this one
file to lys-to-tely, which reads in the whole long list of file names from that
file. The trick is that while make can handle long variables, we can't pass
it to ly-to-tely on the cmd line, but have to use a helper file.
make/lysdoc-rules.make
scripts/build/lys-to-tely.py