]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - windows/Makefile
761199c6da0d0550b2ab776055dd540c618a03a6
[tahoe-lafs/tahoe-lafs.git] / windows / Makefile
1
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
4 # the default.
5
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.
8
9 INNOSETUP := $(shell cygpath -au "$(PROGRAMFILES)/Inno Setup 5/Compil32.exe")
10
11 .PHONY: windows-exe windows-installer windows-installer-upload
12
13 windows-exe.stamp:
14         $(PYTHON) setup.py py2exe
15         touch windows-exe.stamp
16 windows-exe: windows-exe.stamp
17
18 windows-installer: windows-exe.stamp
19         $(PYTHON) ../misc/sub-ver.py installer.tmpl >installer.iss
20         "$(INNOSETUP)" /cc installer.iss
21
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/
25