From: robk-tahoe <robk-tahoe@allmydata.com>
Date: Thu, 10 Jan 2008 02:06:28 +0000 (-0700)
Subject: add windows-exe target to makefile
X-Git-Url: https://git.rkrishnan.org/%5B/$top_link?a=commitdiff_plain;h=33715f3ba371a111dab9e6c3b4f38db5bfdc8190;p=tahoe-lafs%2Ftahoe-lafs.git

add windows-exe target to makefile
---

diff --git a/Makefile b/Makefile
index 438d006c..711c9365 100644
--- 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
index 00000000..443096a9
--- /dev/null
+++ b/windows/Makefile
@@ -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
+