]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
add windows-exe target to makefile
authorrobk-tahoe <robk-tahoe@allmydata.com>
Thu, 10 Jan 2008 02:06:28 +0000 (19:06 -0700)
committerrobk-tahoe <robk-tahoe@allmydata.com>
Thu, 10 Jan 2008 02:06:28 +0000 (19:06 -0700)
Makefile
windows/Makefile [new file with mode: 0644]

index 438d006cf322bda14b0f40fc6248e0ea656f2992..711c93653685fc22fb2d74c9fe517c78087251f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -413,3 +413,9 @@ deb-gutsy-head:
        $(MAKE) setup-deb ARCH=gutsy TAHOE_ARCH=feisty
        $(MAKE) increment-deb-version
        fakeroot debian/rules binary
+
+# These targets provide for windows native builds
+
+windows-exe:
+       PYTHON=$(PYTHON) $(PP) $(MAKE) -C windows
+
diff --git a/windows/Makefile b/windows/Makefile
new file mode 100644 (file)
index 0000000..443096a
--- /dev/null
@@ -0,0 +1,7 @@
+
+# note that this requires the python path to be set appropriately, and hence this
+# should be invoked by calling the windows-exe taget in the top level makefile
+
+windows-exe:
+       $(PYTHON) setup.py py2exe
+