]> git.donarmstrong.com Git - lilypond.git/blobdiff - stepmake/stepmake/script-rules.make
use sed-atfiles to put relocation handling in python scripts.
[lilypond.git] / stepmake / stepmake / script-rules.make
index c431f2cd29b14c3d248d7798831e7dbc7db8febb..bf6589e15c3c1796d85f4141b858ee6867f7e0a6 100644 (file)
@@ -1,25 +1,25 @@
 
-$(outdir)/%: %.pl
-       cat $< | sed $(sed-atvariables) > $@
+$(outdir)/%: %.pl $(config_make)  $(depth)/VERSION
+       cat $< | sed $(sed-atfiles) $(sed-atvariables) > $@
        chmod 755 $@
 
-$(outdir)/%: %.bash
-       cat $< | sed $(sed-atvariables) > $@
+$(outdir)/%: %.bash $(config_make) $(depth)/VERSION
+       cat $< | sed $(sed-atfiles) $(sed-atvariables) > $@
        chmod 755 $@
 
-$(outdir)/%: %.scm
-       cat $< | sed $(sed-atvariables) > $@
+$(outdir)/%: %.scm $(config_make) $(depth)/VERSION
+       cat $< | sed $(sed-atfiles) $(sed-atvariables) > $@
        chmod 755 $@
 
-$(outdir)/%: %.expect
-       cat $< | sed $(sed-atvariables) > $@
+$(outdir)/%: %.expect $(config_make) $(depth)/VERSION
+       cat $< | sed $(sed-atfiles) $(sed-atvariables) > $@
        chmod 755 $@
 
-$(outdir)/%: %.sh
-       cat $< | sed $(sed-atvariables) > $@
+$(outdir)/%: %.sh $(config_make) $(depth)/VERSION
+       cat $< | sed $(sed-atfiles)$(sed-atvariables) > $@
        chmod 755 $@
 
-$(outdir)/%: %.py
-       cat $< | sed $(sed-atvariables) > $@
+$(outdir)/%: %.py $(config_make) $(depth)/VERSION
+       cat $< | sed $(sed-atfiles) $(sed-atvariables) > $@
        chmod 755 $@