From 0afe7afac0abb100a471833aaeb24182271edeab Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 11 Sep 2008 22:09:19 -0700 Subject: [PATCH] Makefile: fix windows issues --- Makefile | 3 ++- windows/Makefile | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c47f8ae6..8f605ed6 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ default: build PYTHON=python +export PYTHON # setup.py will extend sys.path to include our support/lib/... directory # itself. It will also create it in the beginning of the 'develop' command. @@ -360,7 +361,7 @@ deb-hardy-head: windows-exe: .built $(RUNPP) -c "$(MAKE) -C windows windows-exe" -windows-installer: windows-exe +windows-installer: $(RUNPP) -c "$(MAKE) -C windows windows-installer" windows-installer-upload: diff --git a/windows/Makefile b/windows/Makefile index 702ecc05..600c0d7f 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -1,16 +1,16 @@ # we get $(PYTHON) from our parent, do 'make windows-exe PYTHON=foo' to -# control it, since 'PYTHON=foo make windows-exe' doesn't seem to trigger the -# export. +# control it, since 'PYTHON=foo make windows-exe' doesn't seem to override +# the default. INNOSETUP := $(shell cygpath -au "$(PROGRAMFILES)/Inno Setup 5/Compil32.exe") windows-exe: $(PYTHON) setup.py py2exe -windows-installer: windows-exe - $(PYTHON) ../sub-ver.py installer.tmpl >installer.iss - $(INNOSETUP) /cc installer.iss +windows-installer: + $(PYTHON) ../misc/sub-ver.py installer.tmpl >installer.iss + "$(INNOSETUP)" /cc installer.iss windows-installer-upload: chmod -R o+rx dist/installer -- 2.45.2