2 # we get $(PYTHON) from our parent, do 'make windows-exe PYTHON=foo' to
3 # control it, since 'PYTHON=foo make windows-exe' doesn't seem to override
6 # We also get $(PYTHONPATH) from our parent, which is critical for py2exe to
7 # find the tahoe code. Invoking this Makefile directly won't work.
9 INNOSETUP := $(shell cygpath -au "$(PROGRAMFILES)/Inno Setup 5/Compil32.exe")
11 .PHONY: windows-exe windows-installer windows-installer-upload
14 $(PYTHON) setup.py py2exe
15 touch windows-exe.stamp
16 windows-exe: windows-exe.stamp
18 windows-installer: windows-exe.stamp
19 $(PYTHON) ../misc/sub-ver.py installer.tmpl >installer.iss
20 "$(INNOSETUP)" /cc installer.iss
22 windows-installer-upload:
23 chmod -R o+rx dist/installer
24 rsync -av -e /usr/bin/ssh dist/installer/ amduser@dev:/home/amduser/public_html/dist/tahoe/windows/