-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
64 lines (47 loc) · 1.73 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
NAME=moduleframework
INSTALLPATH=/usr/share/$(NAME)
PYTHONSITE=/usr/lib/python2.7/site-packages
all: install_pip check
check:
make -C examples/testing-module check
check-linter:
@# don't use $(shell ) -- it messes out output
cd examples/linter/tools && PYTHONPATH=${PWD} MODULE=docker ${PWD}/${NAME}/mtf_scheduler.py -l
cd examples/linter/rhscl-postgresql && PYTHONPATH=${PWD} MODULE=docker ${PWD}/${NAME}/mtf_scheduler.py -l
cd examples/linter/rhscl-nginx && PYTHONPATH=${PWD} MODULE=docker ${PWD}/${NAME}/mtf_scheduler.py -l
cd examples/linter/f26-etcd && PYTHONPATH=${PWD} MODULE=docker ${PWD}/${NAME}/mtf_scheduler.py -l
cd examples/linter/f26-flannel && PYTHONPATH=${PWD} MODULE=docker ${PWD}/${NAME}/mtf_scheduler.py -l
travis:
make -C examples/testing-module travis
cd examples/linter/tools && PYTHONPATH=${PWD} MODULE=docker mtf -l
check-mtf-default-config-loader:
mtf -l && false || true
mtf -l --url fedora && false || true
mtf -l --url fedora --module docker
.PHONY: clean
clean_pip:
pip uninstall .
rm -rf build/* dist/*
install_pip: clean_pip
pip install -U .
clean:
@python setup.py clean
rm -rf build/* dist/*
install: clean
@python setup.py install
source: clean
@python setup.py sdist
html:
make -f Makefile.docs html
man:
make -f Makefile.docs man
help:
@echo "Usage: make <target>"
@echo
@echo "Available targets are:"
@echo " help show this text"
@echo " clean remove python bytecode and temp files"
@echo " install install program on current system"
@echo " source create source tarball"
@echo " check run examples/testing_module check target in Makefile"
@echo " html create HTML documentation"