-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
67 lines (46 loc) · 1.65 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#!/usr/bin/make
#
options =
mountpoints = src/Products/urban/scripts/config/mount_points.conf
plonesites = src/Products/urban/scripts/config/plonesites.cfg
extras = src/Products/urban/scripts/config/extras.py.tmpl
.PHONY: test instance cleanall portals
all: test docs
bin/python:
virtualenv-2.7 .
develop-eggs: bin/python bootstrap-buildout.py
./bin/python bootstrap-buildout.py
docs: docs/html/index.html
docs/html/index.html: README.rst docs/*.rst docs/urban/*.rst bin/sphinx-build
bin/sphinx-build -W docs docs/html
@touch $@
@echo "Documentation was generated at '$@'."
bin/sphinx-build: .installed.cfg
@touch $@
bin/buildout: develop-eggs
bin/test: versions.cfg buildout.cfg bin/buildout setup.py
./bin/buildout -t 5
touch $@
bin/instance: versions.cfg buildout.cfg bin/buildout setup.py
./bin/buildout -t 5 install instance
touch $@
bin/templates: setup.py buildout.cfg
./bin/buildout -t 5 install templates
touch $@
bin/templates_per_site: bin/templates
touch $@
pre_extras: bin/templates_per_site $(extras)
bin/templates_per_site -i $(extras) -d pre_extras -e py -s tmp/pylon_instances.txt
touch $@
plonesites.cfg: bin/templates $(plonesites) pre_extras
bin/templates -i $(plonesites) -s tmp/pylon_instances.txt > plonesites.cfg
mount_points.conf: bin/templates $(mountpoints)
bin/templates -i $(mountpoints) -s tmp/pylon_instances.txt > $@
test: bin/test
bin/test -s liege.urban $(options)
instance: bin/instance
bin/instance fg
cleanall:
rm -fr bin develop-eggs downloads eggs parts .installed.cfg devel
portals: versions.cfg buildout.cfg plonesites.cfg portals.cfg bin/buildout setup.py mount_points.conf
./bin/buildout -vt 5 -c portals.cfg