Re: Question about autocompile bash script

2013-09-12 Thread Jim Long
On Tue, Sep 10, 2013 at 09:05:49AM -0400, Carl Peterson wrote: > > These are along the lines of what I was thinking of. I don't have any > experience with C. My programming experience as of late is in PHP. So I > gave some thought last night to using it to read the files and trace the > \include de

Re: Question about autocompile bash script

2013-09-10 Thread Carl Peterson
On Tue, Sep 10, 2013 at 5:22 AM, immanuel litzroth wrote: > If there were some kind of make-dep for lilypond it could even generate > these dependencies > automaticaly, like it happens for C (the compiler generates dependencies > when passed the > correct flags). This should not be too hard to bre

Re: Question about autocompile bash script

2013-09-10 Thread Yann
y launches lilypond if necessary. I can give those makefiles if one is interested. Yann > Message: 7 > Date: Tue, 10 Sep 2013 11:22:24 +0200 > From: immanuel litzroth > To: Jacques Menu > Cc: ArnoldTheresius , lilypond-user > > Subject: Re: Question about autoc

Re: Question about autocompile bash script

2013-09-10 Thread immanuel litzroth
If there were some kind of make-dep for lilypond it could even generate these dependencies automaticaly, like it happens for C (the compiler generates dependencies when passed the correct flags). This should not be too hard to brew up? Immanuel On Tue, Sep 10, 2013 at 10:47 AM, Jacques Menu wrote

Re: Question about autocompile bash script

2013-09-10 Thread Jacques Menu
Hello Carl, An approach could be to create a makefile containing: - the rules to compile LP files to PDF (fixed part); - the dependencies among LP files reflecting the presence of \include in them (variable part). Producing the makefile could be done by a script when your dropbox

Re: Question about autocompile bash script

2013-09-10 Thread ArnoldTheresius
Carl Peterson-2 wrote > Question for those who are familiar with linux bash shell scripting... > > ... > > The question I have is whether it is possible to set up a similar script > to > "trace" a file's inclusion in other lilypond files and then compile > whenever an upstream file is loaded. My