netdev-dpdk: fix mbuf leaks
[cascardo/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-ipsec.dirs \
22         debian/openvswitch-ipsec.init \
23         debian/openvswitch-ipsec.install \
24         debian/openvswitch-pki.dirs \
25         debian/openvswitch-pki.postinst \
26         debian/openvswitch-pki.postrm \
27         debian/openvswitch-switch.README.Debian \
28         debian/openvswitch-switch.dirs \
29         debian/openvswitch-switch.init \
30         debian/openvswitch-switch.install \
31         debian/openvswitch-switch.logrotate \
32         debian/openvswitch-switch.manpages \
33         debian/openvswitch-switch.postinst \
34         debian/openvswitch-switch.postrm \
35         debian/openvswitch-switch.template \
36         debian/openvswitch-switch.links \
37         debian/openvswitch-test.dirs \
38         debian/openvswitch-test.install \
39         debian/openvswitch-test.manpages \
40         debian/openvswitch-testcontroller.README.Debian \
41         debian/openvswitch-testcontroller.default \
42         debian/openvswitch-testcontroller.dirs \
43         debian/openvswitch-testcontroller.init \
44         debian/openvswitch-testcontroller.install \
45         debian/openvswitch-testcontroller.manpages \
46         debian/openvswitch-testcontroller.postinst \
47         debian/openvswitch-testcontroller.postrm \
48         debian/openvswitch-vtep.default \
49         debian/openvswitch-vtep.dirs \
50         debian/openvswitch-vtep.init \
51         debian/openvswitch-vtep.install \
52         debian/openvswitch-vtep.manpages \
53         debian/ovn-central.dirs \
54         debian/ovn-central.init \
55         debian/ovn-central.install \
56         debian/ovn-central.manpages \
57         debian/ovn-central.postinst \
58         debian/ovn-central.postrm \
59         debian/ovn-central.template \
60         debian/ovn-common.install \
61         debian/ovn-common.manpages \
62     debian/ovn-docker.install \
63         debian/ovn-host.dirs \
64         debian/ovn-host.init \
65         debian/ovn-host.install \
66         debian/ovn-host.manpages \
67         debian/ovn-host.postinst \
68         debian/ovn-host.postrm \
69         debian/ovn-host.template \
70         debian/ovs-monitor-ipsec \
71         debian/python-openvswitch.dirs \
72         debian/python-openvswitch.install \
73         debian/rules \
74         debian/rules.modules \
75         debian/ifupdown.sh \
76         debian/source/format
77
78 FLAKE8_PYFILES += \
79         debian/ovs-monitor-ipsec
80
81 check-debian-changelog-version:
82         @DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`;                \
83         if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \
84         then                                                                 \
85           :;                                                                 \
86         else                                                                 \
87           echo "Update debian/changelog to mention version $(VERSION)";      \
88           exit 1;                                                            \
89         fi
90 ALL_LOCAL += check-debian-changelog-version
91 DIST_HOOKS += check-debian-changelog-version
92
93 $(srcdir)/debian/copyright: AUTHORS debian/copyright.in
94         $(AM_V_GEN) \
95         { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in;   \
96           sed '1,/^$$/d' $(srcdir)/AUTHORS |                               \
97                 sed -n -e '/^$$/q' -e 's/^/  /p';                          \
98           sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in;           \
99         } > $@
100
101 DISTCLEANFILES += debian/copyright