Clean up skeleton and remove easyshop stuff into extra branch
[zope-bootstrap.git] / Makefile
1 # -*- makefile -*-
2
3 PYTHON_VERSION = 2.4.6
4 PIL_VERSION    = 1.1.6
5
6 ###########################################################################
7
8 include Makefile.master
9
10 localeggs.cfg:
11         @(                                                                      \
12                 echo "[localeggs]";                                             \
13                 echo;                                                           \
14                 echo "eggs =";                                                  \
15                 find src -maxdepth 1 -mindepth 1 -type d -printf "    %P\n";    \
16                 echo;                                                           \
17                 echo "develop =";                                               \
18                 find src -maxdepth 1 -mindepth 1 -type d -printf "    %p\n";    \
19                 echo;                                                           \
20                 echo "zcml =";                                                  \
21                 echo "    \$${localeggs:eggs}"                                  \
22         ) >$@ || (rm -f $@; false)
23 .PHONY: localeggs.cfg
24 # Not phony in reality but needs to be considered out-of-date whenever called
25
26 server.cfg:
27         @(                                                                      \
28                 echo "[server]";                                                \
29                 echo;                                                           \
30                 echo "user = admin:admin";                                      \
31                 echo "port = 8080";                                             \
32                 echo "debug-mode = on";                                         \
33                 echo "verbose-security = on";                                   \
34         ) >$@ || (rm -f $@; false)
35
36 otherupdate:: localeggs.cfg server.cfg
37
38 instance: update-nonet
39         bin/instance foreground
40 .PHONY: instance
41
42 newinstance: purgeinstance instance
43 .PHONY: newinstance
44
45 purgeinstance:
46         rm -rf parts/instance var/filestorage
47 .PHONY: purgeinstance
48
49 bootstrap.tar.gz:
50         git ls-files -o --exclude-standard | tar -cvzf $@ -T -
51 .PHONY: bootstrap.tar.gz