-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
80 lines (68 loc) · 1.91 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
ACLOCAL_AMFLAGS=-I m4
SUBDIRS = \
configurations \
ovirt-guest-agent \
GinaSSO \
tests \
windows-credprov \
scripts \
$(NULL)
if BUILD_SSO_MODULES
SUBDIRS += \
pam-ovirt-cred
endif
if BUILD_GDM_MODULE
SUBDIRS += \
gdm-plugin \
gdm2-plugin
endif
if BUILD_KDM_MODULE
SUBDIRS += \
kdm-plugin
endif
DIST_SUBDIRS=$(SUBDIRS)
CLEANFILES = \
*~
MAINTAINERCLEANFILES = \
config.h.in \
Makefile.in
EXTRA_DIST= \
AUTHORS \
README_Fedora.txt \
ovirt-guest-agent.spec \
ovirt-guest-agent.rhel6.spec\
m4/fhs.m4 \
debian \
$(NULL)
# When fixing a file to conform with pep8 add it to the WL here so it will be
# checkd from now on
PEP8_WHITELIST = \
ovirt-guest-agent/CredServer.py \
ovirt-guest-agent/GuestAgentLinux2.py \
ovirt-guest-agent/GuestAgentWin32.py \
ovirt-guest-agent/LockActiveSession.py \
ovirt-guest-agent/OVirtAgentLogic.py \
ovirt-guest-agent/OVirtGuestService.py \
ovirt-guest-agent/VirtIoChannel.py \
ovirt-guest-agent/WinFile.py \
ovirt-guest-agent/ovirt-guest-agent.py \
ovirt-guest-agent/version.py \
tests/*.py
PEP8_BLACKLIST = ovirt-guest-agent/setup.py
# Only execute the PEP8 checks if it was found
# If pep8 couldn't be located don't execute this
if HAVE_PEP8
check-local:
$(PEP8) --exclude="$(PEP8_BLACKLIST)" --filename '*.py,*.py.in' \
$(PEP8_WHITELIST)
@if test -f .gitignore; then \
for i in `git ls-files \*.in`; do \
if ! grep -q -x $${i%%.in} .gitignore; then \
echo "Missing $${i%%.in} in .gitignore"; exit 1; \
fi; \
done; \
fi;
endif
install-exec-hook:
$(MKDIR_P) $(DESTDIR)/$(pkgdatadir)
$(INSTALL) -d $(DESTDIR)/$(localstatedir)/log/ovirt-guest-agent