[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
makefile generator
From: |
Karl Hammar |
Subject: |
makefile generator |
Date: |
Sat, 12 Apr 2008 21:13:26 +0200 (CEST) |
Attached program finds dependencies in lilypond files.
E.g.:
$ grep include Sliv.ly global.ly
Sliv.ly:\include "global.ly"
Sliv.ly:\include "Mliv.ly"
Sliv.ly:\include "score.ly"
global.ly:\include "choirbook.ly"
global.ly:\include "../common/global.ly"
$ depend_ly ps Sliv.ly
Sliv.ps: Sliv.ly ../common/global.ly Mliv.ly choirbook.ly global.ly
score.ly
So you can have:
%.ps: %.ly
lilypond --ps $<
dep depend.mk:
depend_ly ps S*.ly > depend.mk
-include depend.mk
in your makefile.
Regards,
/Karl
depend_ly
Description: depend_ly
- makefile generator,
Karl Hammar <=