summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@xs4all.nl>2007-01-31 12:24:56 +0100
committerHan-Wen Nienhuys <hanwen@xs4all.nl>2007-01-31 12:24:56 +0100
commitd181447d0f39333e62acfdd79ae3c55c89d915f3 (patch)
treef5bc921bdeee07f7519ef963ec64e8e813af8db5
parentcbb205d40a19c0d2d9801031a63607e108a18038 (diff)
make and include @ substituted relocate preamble.
Fixes invocation of python scripts.
-rw-r--r--python/GNUmakefile2
-rw-r--r--scripts/GNUmakefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/python/GNUmakefile b/python/GNUmakefile
index c7dfe7b526..a520a5efd6 100644
--- a/python/GNUmakefile
+++ b/python/GNUmakefile
@@ -17,3 +17,5 @@ INSTALLATION_OUT_DIR1=$(local_lilypond_datadir)/python
INSTALLATION_OUT_FILES1=$(OUT_PY_MODULES) $(OUT_PYC_MODULES)
$(outdir)/midi.lo: $(outdir)/config.hh
+
+default: $(outdir)/relocate-preamble.py
diff --git a/scripts/GNUmakefile b/scripts/GNUmakefile
index 2a683a8975..af9bf1b9e3 100644
--- a/scripts/GNUmakefile
+++ b/scripts/GNUmakefile
@@ -7,8 +7,8 @@ LOCALSTEPMAKE_TEMPLATES = lilypond
HELP2MAN_EXECS = $(SEXECUTABLES)
AT_FILES=relocate-preamble
-at-ext=.py.in
-at-dir=$(depth)/python
+at-ext=.py
+at-dir=$(top-build-dir)/python/$(outdir)
include $(depth)/make/stepmake.make
include $(stepdir)/executable-targets.make