]> git.proxmox.com Git - mirror_ovs.git/blob - debian/automake.mk
Prepare for 2.6.0.
[mirror_ovs.git] / debian / automake.mk
1 EXTRA_DIST += \
2 debian/changelog \
3 debian/compat \
4 debian/control \
5 debian/control.modules.in \
6 debian/copyright \
7 debian/copyright.in \
8 debian/dkms.conf.in \
9 debian/dirs \
10 debian/openvswitch-common.dirs \
11 debian/openvswitch-common.docs \
12 debian/openvswitch-common.install \
13 debian/openvswitch-common.manpages \
14 debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in \
15 debian/openvswitch-datapath-dkms.postinst \
16 debian/openvswitch-datapath-dkms.prerm \
17 debian/openvswitch-datapath-source.README.Debian \
18 debian/openvswitch-datapath-source.copyright \
19 debian/openvswitch-datapath-source.dirs \
20 debian/openvswitch-datapath-source.install \
21 debian/openvswitch-dev.install \
22 debian/openvswitch-ipsec.dirs \
23 debian/openvswitch-ipsec.init \
24 debian/openvswitch-ipsec.install \
25 debian/openvswitch-pki.dirs \
26 debian/openvswitch-pki.postinst \
27 debian/openvswitch-pki.postrm \
28 debian/openvswitch-switch.README.Debian \
29 debian/openvswitch-switch.dirs \
30 debian/openvswitch-switch.init \
31 debian/openvswitch-switch.install \
32 debian/openvswitch-switch.logrotate \
33 debian/openvswitch-switch.manpages \
34 debian/openvswitch-switch.postinst \
35 debian/openvswitch-switch.postrm \
36 debian/openvswitch-switch.template \
37 debian/openvswitch-switch.links \
38 debian/openvswitch-test.dirs \
39 debian/openvswitch-test.install \
40 debian/openvswitch-test.manpages \
41 debian/openvswitch-testcontroller.README.Debian \
42 debian/openvswitch-testcontroller.default \
43 debian/openvswitch-testcontroller.dirs \
44 debian/openvswitch-testcontroller.init \
45 debian/openvswitch-testcontroller.install \
46 debian/openvswitch-testcontroller.manpages \
47 debian/openvswitch-testcontroller.postinst \
48 debian/openvswitch-testcontroller.postrm \
49 debian/openvswitch-vtep.default \
50 debian/openvswitch-vtep.dirs \
51 debian/openvswitch-vtep.init \
52 debian/openvswitch-vtep.install \
53 debian/openvswitch-vtep.manpages \
54 debian/ovn-central.dirs \
55 debian/ovn-central.init \
56 debian/ovn-central.install \
57 debian/ovn-central.manpages \
58 debian/ovn-central.postinst \
59 debian/ovn-central.postrm \
60 debian/ovn-central.template \
61 debian/ovn-controller-vtep.init \
62 debian/ovn-controller-vtep.install \
63 debian/ovn-controller-vtep.manpages \
64 debian/ovn-common.install \
65 debian/ovn-common.manpages \
66 debian/ovn-docker.install \
67 debian/ovn-host.dirs \
68 debian/ovn-host.init \
69 debian/ovn-host.install \
70 debian/ovn-host.manpages \
71 debian/ovn-host.postinst \
72 debian/ovn-host.postrm \
73 debian/ovn-host.template \
74 debian/ovs-monitor-ipsec \
75 debian/python-openvswitch.dirs \
76 debian/python-openvswitch.install \
77 debian/rules \
78 debian/rules.modules \
79 debian/ifupdown.sh \
80 debian/source/format
81
82 FLAKE8_PYFILES += \
83 debian/ovs-monitor-ipsec
84
85 check-debian-changelog-version:
86 @DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`; \
87 if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \
88 then \
89 :; \
90 else \
91 echo "Update debian/changelog to mention version $(VERSION)"; \
92 exit 1; \
93 fi
94 ALL_LOCAL += check-debian-changelog-version
95 DIST_HOOKS += check-debian-changelog-version
96
97 $(srcdir)/debian/copyright: AUTHORS debian/copyright.in
98 $(AM_V_GEN) \
99 { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in; \
100 sed '1,/^$$/d' $(srcdir)/AUTHORS | \
101 sed -n -e '/^$$/q' -e 's/^/ /p'; \
102 sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in; \
103 } > $@
104
105 DISTCLEANFILES += debian/copyright