1
# This file modified from Zope3/Makefile
2
# Licensed under the ZPL, (c) Zope Corporation and contributors.
6
STARTSCRIPT=runsoyuz.py
14
$(MAKE) -C sourcecode check
15
PYTHONPATH=$(HERE)/lib ./test.py
19
# XXX What should the default be?
24
## $(PYTHON) setup.py $(SETUPFLAGS) build_ext -i
27
## $(PYTHON) setup.py $(SETUPFLAGS) build
33
echo "#!/bin/sh" > bin/runzope;
34
echo "exec $(PYTHON) $(STARTSCRIPT) -C $(CONFFILE)" >> bin/runzope;
36
echo "#!/bin/sh" > bin/zopectl;
37
echo "$(PYTHON) $(PWD)/src/zdaemon/zdctl.py \
39
-C zdaemon.conf -d \$$*" >> bin/zopectl
43
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
46
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
49
$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
51
ftest_inplace: inplace
52
$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
54
# XXX What should the default be?
60
PYTHONPATH=$(Z3LIBPATH):$(PYTHONPATH) $(PYTHON) \
61
$(STARTSCRIPT) -C $(CONFFILE)
63
debug: principals.zcml
64
PYTHONPATH=$(Z3LIBPATH):$(PYTHONPATH) $(PYTHON) -i -c \
65
"from zope.app import Application;\
66
app = Application('Data.fs', 'site.zcml')()"
69
find . \( -name '*.o' -o -name '*.so' -o -name '*.py[co]' -o -name '*.dll' \) -exec rm -f {} \;
74
$(PYTHON) setup.py clean -a
77
PYTHONPATH=`pwd`/src:$(PYTHONPATH) $(PYTHON) \
78
./src/zope/configuration/stxdocs.py \
79
-f ./src/zope/app/meta.zcml -o ./doc/zcml/namespaces.zope.org
83
# Naughty, naughty! How many Zope3 developers are going to have
84
# that directory structure? The 'ctags' package is capable of generating
85
# both emacs-sytle and vi-style tags files from python source; can the
86
# emacs-provided 'etags' not read Python?
89
python ~/trunk/Tools/scripts/eptags.py `find . -name \*.py`
90
# etags `find . -name \*.py -print`
6
96
# arch-tag: c5c98418-056f-41e0-896a-6714a77439a8