[Zope3-checkins] CVS: Zope3 - Makefile:1.41

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 23 10:51:49 EST 2004


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv1422

Modified Files:
	Makefile 
Log Message:


Added 'runners' command that builds the various Zope runners in bin.




=== Zope3/Makefile 1.40 => 1.41 ===
--- Zope3/Makefile:1.40	Thu Mar 11 17:44:41 2004
+++ Zope3/Makefile	Tue Mar 23 10:51:48 2004
@@ -4,14 +4,24 @@
 SETUPFLAGS=
 
 # XXX What should the default be?
-all: inplace
+all: inplace runners
 
 # Build in-place
 inplace:
 	$(PYTHON) setup.py $(SETUPFLAGS) build_ext -i
 
-build::
+build:
 	$(PYTHON) setup.py $(SETUPFLAGS) build
+
+runners:
+	echo "#!/bin/sh" > bin/runzope;
+	echo "exec $(PYTHON) z3.py" >> bin/runzope;
+	chmod +x bin/runzope
+	echo "#!/bin/sh" > bin/zopectl;
+	echo "$(PYTHON) $(PWD)/src/zdaemon/zdctl.py \
+	      -S schema.xml \
+	      -C zdaemon.conf -d \$$*" >> bin/zopectl
+	chmod +x bin/zopectl 
 
 test_build: build
 	$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)




More information about the Zope3-Checkins mailing list