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