--- 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.
