-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
38 lines (28 loc) · 886 Bytes
/
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
# Makefile for gofed-ng
# 2016 Fridolin Pokorny <[email protected]>
all: submodules
python bootstrap.py
submodules:
git submodule init
> services/spec/specker/__init__.py
clean:
rm -rf DOC/
rm -f gofed.conf
rm -f system.json
rm -f scenarios/load_scenarios.py
find . -name '*.pyc' -exec rm -f {} +
find services/ -name 'common' -xtype d -exec rm -rf {} +
find services/ -name 'service.conf' -xtype f -exec rm -rf {} +
find services/ -name 'system.json' -xtype f -exec rm -rf {} +
pack: clean
tar -zcvf *
update: update-system-json
update-system-json: all
scp system.json [email protected]:~
update-status-json:
gofed system --status > status.json
scp status.json [email protected]:~
doc:
@epydoc --graph all -o DOC/ common/ plugins/ scenarios/ services gofed.py registry.py system.py -v && \
echo "Documentation created, see 'DOC/' dir..."
FORCE: