From 33715f3ba371a111dab9e6c3b4f38db5bfdc8190 Mon Sep 17 00:00:00 2001
From: robk-tahoe <robk-tahoe@allmydata.com>
Date: Wed, 9 Jan 2008 19:06:28 -0700
Subject: [PATCH] add windows-exe target to makefile

---
 Makefile         | 6 ++++++
 windows/Makefile | 7 +++++++
 2 files changed, 13 insertions(+)
 create mode 100644 windows/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
+
-- 
2.45.2