forked from conix-security/audit-springbok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (32 loc) · 786 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
all: doc
chmod +x springbok.py test/test.py
doc:
cd documentation; \
pwd; \
rm -r latex/ html/; \
doxygen short_doc; \
cd latex; \
make pdf; \
cp refman.pdf ../springbok_short_documentation.pdf; \
cd ../; \
rm -r latex/ html/; \
doxygen long_doc; \
cd latex; \
make pdf; \
cp refman.pdf ../springbok_documentation.pdf; \
cd ../; \
cd ../; \
test:
cd test; \
./test.py; \
cd ../; \
clean:
cd documentation; \
rm -r latex/ html/ springbok_documentation.pdf springbok_short_documentation.pdf; \
cd ../; \
find . -name "*.pyc" -exec rm -rf {} \;; \
find . -name "parser.out" -exec rm -rf {} \;; \
find . -name "parsetab.py" -exec rm -rf {} \;; \
find . -name "lextab.py" -exec rm -rf {} \;; \
find . -name "*~" -exec rm -rf {} \;; \
.PHONY: all test doc clean