-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
64 lines (56 loc) · 1.37 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
#!/usr/bin/env make -f
#HOST=murphy
#HOST=gta01
HOST=gta02
EPATH=/opt/e17
.PHONY: all
all:
PATH=$(PATH):$(EPATH)/bin \
LD_LIBRARY_PATH=$(EPATH)/lib \
PYTHONPATH=$(EPATH)/lib/python2.5/site-packages:../python-pyneo/ \
./setup.py bdist
.PHONY: run
run:
LD_LIBRARY_PATH=$(EPATH)/lib \
PYTHONPATH=$(EPATH)/lib/python2.5/site-packages:applications:core:services \
./scripts/paroli
.PHONY: edj
edj:
cd scripts && \
PATH=$(PATH):$(EPATH)/bin \
LD_LIBRARY_PATH=$(EPATH)/lib \
PYTHONPATH=$(EPATH)/lib/python2.5/site-packages:../python-pyneo/ \
./build.sh
.PHONY: dbg
dbg: clean
ssh root@$(HOST) mkdir -p /usr/share/paroli/.
rsync --verbose --archive --delete * root@$(HOST):/usr/share/paroli/.
.PHONY: clean
clean:
find . -name \*.pyo -o -name \*.pyc | xargs rm -f
rm -rf dist build docs
.PHONY: docs
docs: docs/index.html
docs/index.html: Makefile
mkdir -p docs
LD_LIBRARY_PATH=$(EPATH)/lib \
PYTHONPATH=$(EPATH)/lib/python2.5/site-packages:applications:core:services \
epydoc \
--css=data/epydoc.css \
--debug \
--docformat=restructuredtext \
--graph=classtree \
--graph-font-size=32 \
--graph-font='Vera' \
--html \
--include-log \
--name='paroli - documentation' \
--navlink=Home \
--no-imports \
--no-private \
--no-sourcecode \
--output=docs \
--quiet \
--simple-term \
--url=http://www.paroli-project.org/ \
core/* services/* applications/*