summaryrefslogtreecommitdiff
path: root/deskutils/menumaker/files/patch-Makefile.in
blob: 7414afcd3445b079136ad713888838fa37b8de3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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.