Are you just talking about the if .. then conditional part? First I'll try just commenting that whole thing out and see if it will compile, then I'll try to figure out how to deliver the output to the right directories. Thanks Ian,
Jon. On Sat, May 23, 2009 at 8:19 AM, Ian Hulin <i...@hulin.org.uk> wrote: > Jon, > You've put Linux-style bash shell commands to interpret this rule to > differentiate what to do for the midi and pf files > if ... > > don't forget that on Windows you're dealing with the cmd command-line > interpreter rather than bash, so you may need to do a Windows-variant > version of this rule. > > On Windows, pull up a terminal window (click Flag/Run and type in cmd into > the dialogue box), and then enter help at the command line. You'll see all > the Windows command-line stuff there. > > Cheers, > > Ian > > > > Jonathan Kulp wrote: > >> Carl D. Sorensen wrote: >> >>> >>> Now, the full score compiles if I change the score target to this: >>>> >>>> score: >>>> $(LILY_CMD) Scores/$(piece).ly >>>> >>>> So it looks like the Windows environment doesn't know how to deal with >>>> the pattern rule defined at the top of the Makefile. >>>> >>>> I'm encouraged that it's pretty easy to run lily files at the DOS >>>> command line on Windows, at least. >>>> >>> >>> Are you getting caught by the path separator: it's \ in windows, but / >>> in >>> linux? >>> >>> >> I don't think so. You'll notice that the score target that compiles >> correctly uses unix-style separator / instead of Windows \. This works, I >> assume, because it is inside the Makefile, and GNU Make for Windows >> translates it. It looks to me as if the Windows GNU Make has trouble with >> the pattern rule with the % signs: %.pdf %.midi: %.ly >> >> Maybe someone who actually uses Windows can understand this better. >> Clearly this makefile isn't as portable as we'd hoped it would be. As >> another approach I may go ahead and install cygwin on it, but I'm already >> growing weary of trying stuff that doesn't work. I'm about ready to put the >> Makefile section in the docs with a big warning saying it doesn't work on >> Windows without a lot of tweaking. >> >> Jon >> >> > > > _______________________________________________ > lilypond-devel mailing list > lilypond-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-devel > -- Jonathan Kulp http://www.jonathankulp.com
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel