1
# This file modified from Zope3/Makefile
2
# Licensed under the ZPL, (c) Zope Corporation and contributors.
6
STARTSCRIPT=runsoyuz.py
17
# XXX What should the default be?
22
## $(PYTHON) setup.py $(SETUPFLAGS) build_ext -i
25
## $(PYTHON) setup.py $(SETUPFLAGS) build
31
echo "#!/bin/sh" > bin/runzope;
32
echo "exec $(PYTHON) $(STARTSCRIPT) -C $(CONFFILE)" >> bin/runzope;
34
echo "#!/bin/sh" > bin/zopectl;
35
echo "$(PYTHON) $(PWD)/src/zdaemon/zdctl.py \
37
-C zdaemon.conf -d \$$*" >> bin/zopectl
41
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
44
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
47
$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
49
ftest_inplace: inplace
50
$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
52
# XXX What should the default be?
58
PYTHONPATH=$(Z3LIBPATH):$(PYTHONPATH) $(PYTHON) \
59
$(STARTSCRIPT) -C $(CONFFILE)
61
debug: principals.zcml
62
PYTHONPATH=`pwd`/src:$(PYTHONPATH) $(PYTHON) -i -c \
63
"from zope.app import Application;\
64
app = Application('Data.fs', 'site.zcml')()"
67
find . \( -name '*.o' -o -name '*.so' -o -name '*.py[co]' -o -name '*.dll' \) -exec rm -f {} \;
72
$(PYTHON) setup.py clean -a
75
PYTHONPATH=`pwd`/src:$(PYTHONPATH) $(PYTHON) \
76
./src/zope/configuration/stxdocs.py \
77
-f ./src/zope/app/meta.zcml -o ./doc/zcml/namespaces.zope.org
81
# Naughty, naughty! How many Zope3 developers are going to have
82
# that directory structure? The 'ctags' package is capable of generating
83
# both emacs-sytle and vi-style tags files from python source; can the
84
# emacs-provided 'etags' not read Python?
87
python ~/trunk/Tools/scripts/eptags.py `find . -name \*.py`
88
# etags `find . -name \*.py -print`
6
94
# arch-tag: c5c98418-056f-41e0-896a-6714a77439a8