[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] make targets to generate windows binaries



Update of /home/minion/cvsroot/src/minion
In directory moria.mit.edu:/tmp/cvs-serv18805

Modified Files:
	Makefile 
Log Message:
make targets to generate windows binaries

Index: Makefile
===================================================================
RCS file: /home/minion/cvsroot/src/minion/Makefile,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- Makefile	7 Mar 2004 21:25:15 -0000	1.66
+++ Makefile	8 Mar 2004 06:01:02 -0000	1.67
@@ -171,6 +171,7 @@
 signdist: sdist
 	gpg -ba dist/Mixminion*.tar.gz
 
+
 #======================================================================
 # Packaging related targets
 
@@ -188,6 +189,22 @@
 		'Build unofficial debian package.'
 	#dpkg-buildpackage -rfakeroot -uc -us
 
+bdist_wininst:
+	@$(FINDPYTHON); \
+	echo $$PYTHON -tt setup.py bdist_wininst; \
+	$$PYTHON -tt setup.py bdist_wininst
+
+bdist_py2exe:
+	@$(FINDPYTHON); \
+	VERSION=`grep '^VERSION = ' setup.py | sed -e "s/.*'\(.*\)'.*/\1/"`; \
+	rm -rf dist Mixminion-$$VERSION; \
+	echo $$PYTHON -tt setup.py py2exe; \
+	$$PYTHON -tt setup.py py2exe; \
+	mv dist Mixminion-$$VERSION; \
+	zip -9 Mixminion-$$VERSION.win32.zip Mixminion-$$VERSION/* \
+           Mixminion-$$VERSION/lib/*
+	
+
 #======================================================================
 # OpenSSL-related targets