ovn-controller: Handle physical changes correctly
[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-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-common.install \
62         debian/ovn-common.manpages \
63     debian/ovn-docker.install \
64         debian/ovn-host.dirs \
65         debian/ovn-host.init \
66         debian/ovn-host.install \
67         debian/ovn-host.manpages \
68         debian/ovn-host.postinst \
69         debian/ovn-host.postrm \
70         debian/ovn-host.template \
71         debian/ovs-monitor-ipsec \
72         debian/python-openvswitch.dirs \
73         debian/python-openvswitch.install \
74         debian/rules \
75         debian/rules.modules \
76         debian/ifupdown.sh \
77         debian/source/format
78
79 FLAKE8_PYFILES += \
80         debian/ovs-monitor-ipsec
81
82 check-debian-changelog-version:
83         @DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`;                \
84         if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \
85         then                                                                 \
86           :;                                                                 \
87         else                                                                 \
88           echo "Update debian/changelog to mention version $(VERSION)";      \
89           exit 1;                                                            \
90         fi
91 ALL_LOCAL += check-debian-changelog-version
92 DIST_HOOKS += check-debian-changelog-version
93
94 $(srcdir)/debian/copyright: AUTHORS debian/copyright.in
95         $(AM_V_GEN) \
96         { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in;   \
97           sed '1,/^$$/d' $(srcdir)/AUTHORS |                               \
98                 sed -n -e '/^$$/q' -e 's/^/  /p';                          \
99           sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in;           \
100         } > $@
101
102 DISTCLEANFILES += debian/copyright