-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
60 lines (45 loc) · 1.05 KB
/
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
54
55
56
57
58
59
60
#
# ovirtfs -- The oVirt filesystem
#
pyovirtfsdir = $(pythondir)/@PACKAGE_NAME@
pyovirtfshandlersdir = $(pyovirtfsdir)/handlers
dist_pyovirtfs_PYTHON = \
$(srcdir)/src/ovirtfs/*.py
dist_pyovirtfshandlers_PYTHON = \
$(srcdir)/src/ovirtfs/handlers/*.py
dist_sbin_SCRIPTS = \
$(srcdir)/scripts/mount.ovirtfs
dist_noinst_DATA = \
LICENSE \
ovirtfs.spec \
$(NULL)
EXTRA_DIST = \
autogen.sh \
README.md \
LICENSE \
AUTHORS \
$(NULL)
DISTCLEANFILES = \
$(srcdir)/config.log \
$(srcdir)/config.status \
$(srcdir)/Makefile.in \
$(srcdir)/configure \
$(srcdir)/install-sh \
$(srcdir)/missing \
$(srcdir)/py-compile \
$(srcdir)/config.guess \
$(srcdir)/config.sub \
$(srcdir)/aclocal.m4 \
$(NULL)
rpm: dist
rpmbuild -ta *.xz
check:
@echo "[CHECK] pyflakes"
find . -xdev -name \*.py | xargs pyflakes
@echo "[CHECK] pylint"
find . -xdev -name \*.py | xargs pylint-2
@echo "[CHECK] pep8"
find . -xdev -name \*.py | xargs pep8
clean-local:
-rm -rf autom4te.cache *.tar.xz
-find -name "*.pyc" -exec rm -f {} \;