1
# This file modified from Zope3/Makefile
2
# Licensed under the ZPL, (c) Zope Corporation and contributors.
5
CONFFILE=launchpad.conf
6
STARTSCRIPT=runlaunchpad.py
10
Z3LIBPATH=$(shell pwd)/sourcecode/zope/src
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
31
$(MAKE) -C sourcecode build
34
echo "#!/bin/sh" > bin/runzope;
35
echo "exec $(PYTHON) $(STARTSCRIPT) -C $(CONFFILE)" >> bin/runzope;
37
echo "#!/bin/sh" > bin/zopectl;
38
echo "$(PYTHON) $(PWD)/src/zdaemon/zdctl.py \
40
-C zdaemon.conf -d \$$*" >> bin/zopectl
44
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
47
$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
50
$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
52
ftest_inplace: inplace
53
$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
55
# XXX What should the default be?
61
PYTHONPATH=$(Z3LIBPATH):$(PYTHONPATH) $(PYTHON) \
62
$(STARTSCRIPT) -C $(CONFFILE)
64
debug: principals.zcml
65
PYTHONPATH=$(Z3LIBPATH):$(PYTHONPATH) $(PYTHON) -i -c \
66
"from zope.app import Application;\
67
app = Application('Data.fs', 'site.zcml')()"
70
find . \( -name '*.o' -o -name '*.so' -o -name '*.py[co]' -o -name '*.dll' \) -exec rm -f {} \;
75
$(PYTHON) setup.py clean -a
78
PYTHONPATH=`pwd`/src:$(PYTHONPATH) $(PYTHON) \
79
./src/zope/configuration/stxdocs.py \
80
-f ./src/zope/app/meta.zcml -o ./doc/zcml/namespaces.zope.org
84
# Naughty, naughty! How many Zope3 developers are going to have
85
# that directory structure? The 'ctags' package is capable of generating
86
# both emacs-sytle and vi-style tags files from python source; can the
87
# emacs-provided 'etags' not read Python?
90
python ~/trunk/Tools/scripts/eptags.py `find . -name \*.py`
91
# etags `find . -name \*.py -print`
6
97
# arch-tag: c5c98418-056f-41e0-896a-6714a77439a8