X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=python%2FGNUmakefile;h=87fa7660893539f84d11b823ec9d56a7adc60002;hb=d46572826e777ed3e9fa4656535a6e9000f2ed9e;hp=5cab304d0e4f78625693b06e5c10b0d7f66bfd77;hpb=d199e9078b3e945b8b77715951f8cdc69165a05f;p=lilypond.git diff --git a/python/GNUmakefile b/python/GNUmakefile index 5cab304d0e..87fa766089 100644 --- a/python/GNUmakefile +++ b/python/GNUmakefile @@ -1,10 +1,25 @@ depth = .. -INSTALLATION_FILES=$(PY_MODULES) $(OUT_PY_MODULES) $(OUT_SO_MODULES) -INSTALLATION_DIR=$(datadir)/python +SUBDIRS=auxiliar -STEPMAKE_TEMPLATES=c python-module install po +STEPMAKE_TEMPLATES=c python-module install-out po -include $(depth)/make/stepmake.make +include $(depth)/make/stepmake.make -$(outdir)/midi.lo: $(outdir)/config.h +CFLAGS += -DPy_BUILD_CORE -Wall +# unset al guile stuff from configure +CONFIG_LDFLAGS= + +INSTALLATION_OUT_SUFFIXES=1 + +INSTALLATION_OUT_FILES=$(OUT_SO_MODULES) +INSTALLATION_OUT_DIR=$(local_lilypond_libdir)/python + +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 + +$(outdir)/relocate-preamble.py: $(depth)/VERSION