Statistics
| Branch: | Tag: | Revision:

mininet / Makefile @ 2b03a115

History | View | Annotate | Download (550 Bytes)

1
all: codecheck test
2

    
3
clean:
4
	rm -rf build dist *.egg-info *.pyc mnexec bin/mnexec
5

    
6
MININET = mininet/*.py
7
TEST = mininet/test/*.py
8
EXAMPLES = examples/*.py
9
BIN = bin/mn
10
PYSRC = $(MININET) $(TEST) $(EXAMPLES) $(BIN)
11

    
12
P8IGN = E251,E201,E302,E202
13

    
14
codecheck: $(PYSRC)
15
	-echo "Running code check"
16
	pyflakes $(PYSRC)
17
	pylint --rcfile=.pylint $(PYSRC)
18
	pep8 --repeat --ignore=$(P8IGN) $(PYSRC)
19

    
20
test: $(MININET) $(TEST)
21
	-echo "Running tests"
22
	mininet/test/test_nets.py
23

    
24
install: mnexec
25
	cp mnexec bin/
26
	python setup.py install
27

    
28
doc:
29
	doxygen doxygen.cfg
30