Add (optional) debian package dependencies target
[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 include Makefile.easyshop
10
11 local.cfg:
12         @(                                                                      \
13                 echo "[local]";                                                 \
14                 echo;                                                           \
15                 echo "eggs =";                                                  \
16                 find src -maxdepth 1 -mindepth 1 -type d -printf "    %P\n";    \
17                 echo;                                                           \
18                 echo "develop =";                                               \
19                 find src -maxdepth 1 -mindepth 1 -type d -printf "    %p\n";    \
20                 echo;                                                           \
21                 echo "zcml =";                                                  \
22                 echo "    \$${local:eggs}"                                      \
23         ) >$@ || (rm -f $@; false)
24 .PHONY: local.cfg
25 # Not phony in reality but needs to be considered out-of-date whenever called
26
27 otherupdate:: local.cfg
28
29 instance: update-nonet
30         bin/instance foreground
31 .PHONY: instance
32
33 newinstance: purgeinstance instance
34 .PHONY: newinstance
35
36 purgeinstance:
37         rm -rf parts/instance var/filestorage
38 .PHONY: purgeinstance