[Zope-CVS] CVS: PythonNet - makefile:1.9 makefile.mono:1.5

Brian Lloyd cvs-admin at zope.org
Mon Oct 27 23:11:02 EST 2003


Update of /cvs-repository/PythonNet
In directory cvs.zope.org:/tmp/cvs-serv27751

Modified Files:
	makefile makefile.mono 
Log Message:
Fixes to dist target


=== PythonNet/makefile 1.8 => 1.9 ===
--- PythonNet/makefile:1.8	Wed Oct 22 22:53:08 2003
+++ PythonNet/makefile	Mon Oct 27 23:11:00 2003
@@ -1,7 +1,7 @@
 # Makefile for the PythonRuntime .NET assembly and tests. Thanks to
 # Camilo Uribe <kmilo at softhome.net> for contributing Mono support.
 
-DIRNAME=PythonNet
+RELEASE=PythonNet-1.0-beta1
 RUNNER=
 ILDASM=ildasm
 ILASM=ilasm
@@ -65,6 +65,7 @@
 	cd src; cd tools; rm -f *~; cd ..; cd ..;
 	cd tests; cd python; rm -f *.pyc; rm -f *~; cd ..; cd ..;
 	cd doc; rm -f *~; cd ..;
+	cd demo; rm -f *~; cd ..;
 
 
 test:
@@ -73,22 +74,22 @@
 
 
 dist: clean
-	mkdir ./$(DIRNAME)-dist
-	cp -R ./makefile ./$(DIRNAME)-dist/
-	cp -R ./*.txt ./$(DIRNAME)-dist/
-	cp -R ./demo ./$(DIRNAME)-dist/
-	cp -R ./doc ./$(DIRNAME)-dist/
-	cp -R ./nunit ./$(DIRNAME)-dist/
-	cp -R ./src ./$(DIRNAME)-dist/
-	cp -R ./tests ./$(DIRNAME)-dist/
+	mkdir ./$(RELEASE)
+	cp -R ./makefile ./$(RELEASE)/
+	cp -R ./*.txt ./$(RELEASE)/
+	cp -R ./demo ./$(RELEASE)/
+	cp -R ./doc ./$(RELEASE)/
+	cp -R ./nunit ./$(RELEASE)/
+	cp -R ./src ./$(RELEASE)/
+	cp -R ./tests ./$(RELEASE)/
 	make
-	cp ./python.exe ./$(DIRNAME)-dist/
-	cp ./*.dll ./$(DIRNAME)-dist/
-	cp ./redist/python23.dll ./$(DIRNAME)-dist/
-	cp -R ./redist/DLLs ./$(DIRNAME)-dist/
-	cp -R ./redist/lib ./$(DIRNAME)-dist/
-	tar czf $(DIRNAME)-dist.tgz ./$(DIRNAME)-dist/
-	rm -rf ./$(DIRNAME)-dist/
+	cp ./python.exe ./$(RELEASE)/
+	cp ./*.dll ./$(RELEASE)/
+	cp ./redist/python23.dll ./$(RELEASE)/
+	cp -R ./redist/DLLs ./$(RELEASE)/
+	cp -R ./redist/lib ./$(RELEASE)/
+	tar czf $(RELEASE).tgz ./$(RELEASE)/
+	rm -rf ./$(RELEASE)/
 
 
 dis:


=== PythonNet/makefile.mono 1.4 => 1.5 ===
--- PythonNet/makefile.mono:1.4	Wed Oct 22 22:53:08 2003
+++ PythonNet/makefile.mono	Mon Oct 27 23:11:00 2003
@@ -5,7 +5,7 @@
 # dll under mono, due to use of attributes that the mono assembler / 
 # disassembler doesn't yet support.
 
-DIRNAME=PythonNet
+RELEASE=PythonNet-1.0-beta1
 RUNNER=mono
 ILDASM=monodis
 ILASM=ilasm
@@ -68,7 +68,7 @@
 	cd src; cd tools; rm -f *~; cd ..; cd ..;
 	cd tests; cd python; rm -f *.pyc; rm -f *~; cd ..; cd ..;
 	cd doc; rm -f *~; cd ..;
-
+	cd demo; rm -f *~; cd ..;
 
 test:
 	rm -f ./tests/python/*.pyc
@@ -76,22 +76,22 @@
 
 
 dist: clean
-	mkdir ./$(DIRNAME)-dist
-	cp -R ./makefile ./$(DIRNAME)-dist/
-	cp -R ./*.txt ./$(DIRNAME)-dist/
-	cp -R ./demo ./$(DIRNAME)-dist/
-	cp -R ./doc ./$(DIRNAME)-dist/
-	cp -R ./nunit ./$(DIRNAME)-dist/
-	cp -R ./src ./$(DIRNAME)-dist/
-	cp -R ./tests ./$(DIRNAME)-dist/
+	mkdir ./$(RELEASE)
+	cp -R ./makefile ./$(RELEASE)/
+	cp -R ./*.txt ./$(RELEASE)/
+	cp -R ./demo ./$(RELEASE)/
+	cp -R ./doc ./$(RELEASE)/
+	cp -R ./nunit ./$(RELEASE)/
+	cp -R ./src ./$(RELEASE)/
+	cp -R ./tests ./$(RELEASE)/
 	make
-	cp ./python.exe ./$(DIRNAME)-dist/
-	cp ./*.dll ./$(DIRNAME)-dist/
-	cp ./redist/python22.dll ./$(DIRNAME)-dist/
-	cp -R ./redist/DLLs ./$(DIRNAME)-dist/
-	cp -R ./redist/lib ./$(DIRNAME)-dist/
-	tar czf $(DIRNAME)-dist.tgz ./$(DIRNAME)-dist/
-	rm -rf ./$(DIRNAME)-dist/
+	cp ./python.exe ./$(RELEASE)/
+	cp ./*.dll ./$(RELEASE)/
+	cp ./redist/python23.dll ./$(RELEASE)/
+	cp -R ./redist/DLLs ./$(RELEASE)/
+	cp -R ./redist/lib ./$(RELEASE)/
+	tar czf $(RELEASE).tgz ./$(RELEASE)/
+	rm -rf ./$(RELEASE)/
 
 
 dis:




More information about the Zope-CVS mailing list