forked from adjacentlink/python-etce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
53 lines (38 loc) · 942 Bytes
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST= \
autogen.sh \
etce \
scripts \
test \
Copyright \
README.md
all-local: setup.py
python setup.py build
clean-local: setup.py
python setup.py clean
-rm -rf python_etce.egg-info
-rm -rf build
-rm -rf dist
-rm -rf deb_dist
-rm -f @PACKAGE@-@VERSION@.tar.gz
-rm -f setup.py
-rm -f MANIFEST
-rm -f stdeb.cfg
-rm -f installed.txt
-rm -rf `find . -name "*\.pyc"`
-rm -rf `find . -name "*~"`
install: setup.py
python setup.py install --record=installed.txt --prefix=@prefix@
uninstall:
xargs --arg-file installed.txt rm
spec: setup.py
python setup.py bdist_rpm --spec-only
if HAVE_RPMBUILD
REQUIRES=python-paramiko python-lxml python-mako lxc
rpm: setup.py
python setup.py bdist_rpm --release $(RELEASE) --requires "$(REQUIRES)"
endif
if HAVE_DEB
deb: setup.py stdeb.cfg
export DEB_BUILD_OPTIONS=nocheck && python setup.py --command-packages=stdeb.command bdist_deb
endif