21ca0118d5
- Change configure to look for python3.5 and python3.6, as well as older versions. - Add LDFLAGS to make it possible for the configure script to find python libraries. Actually use python in Makefile.in. Reviewed by/with: zeising@
18 lines
804 B
Makefile
18 lines
804 B
Makefile
--- Makefile.in.orig 2019-07-21 13:18:07 UTC
|
|
+++ Makefile.in
|
|
@@ -851,12 +851,13 @@ uninstall-am: uninstall-dist_binSCRIPTS \
|
|
|
|
|
|
install-exec-local :
|
|
+ -chmod u+w $(DESTDIR)/$(bindir)/mmaker
|
|
echo "#!/usr/bin/env $(PYTHON_BIN)" > $(DESTDIR)/$(bindir)/mmaker
|
|
echo "import sys; sys.path = ['$(pkgdatadir)'] + sys.path" >> $(DESTDIR)/$(bindir)/mmaker
|
|
echo "import MenuMaker.CLI" >> $(DESTDIR)/$(bindir)/mmaker
|
|
|
|
install-data-local :
|
|
- $(PYTHON) -c 'import compileall; compileall.compile_dir(dir="$(DESTDIR)/$(pkgdatadir)", ddir="$(pkgdatadir)")'
|
|
+ $(PYTHON_BIN) -c 'import compileall; compileall.compile_dir(dir="$(DESTDIR)/$(pkgdatadir)", ddir="$(pkgdatadir)")'
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|