Document and warn that mirroring to a VLAN is incompatible with SLB bonding.
[openvswitch] / 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/dirs \
9         debian/openvswitch-brcompat.install \
10         debian/openvswitch-brcompat.manpages \
11         debian/openvswitch-brcompat.postinst \
12         debian/openvswitch-common.dirs \
13         debian/openvswitch-common.install \
14         debian/openvswitch-common.manpages \
15         debian/openvswitch-controller.README.Debian \
16         debian/openvswitch-controller.default \
17         debian/openvswitch-controller.dirs \
18         debian/openvswitch-controller.init \
19         debian/openvswitch-controller.install \
20         debian/openvswitch-controller.manpages \
21         debian/openvswitch-controller.postinst \
22         debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in \
23         debian/openvswitch-datapath-source.README.Debian \
24         debian/openvswitch-datapath-source.copyright \
25         debian/openvswitch-datapath-source.dirs \
26         debian/openvswitch-datapath-source.install \
27         debian/openvswitch-ipsec.dirs \
28         debian/openvswitch-ipsec.init \
29         debian/openvswitch-ipsec.install \
30         debian/openvswitch-pki.postinst \
31         debian/openvswitch-switch.README.Debian \
32         debian/openvswitch-switch.dirs \
33         debian/openvswitch-switch.init \
34         debian/openvswitch-switch.install \
35         debian/openvswitch-switch.logrotate \
36         debian/openvswitch-switch.manpages \
37         debian/openvswitch-switch.postinst \
38         debian/openvswitch-switch.postrm \
39         debian/openvswitch-switch.template \
40         debian/ovsdbmonitor.install \
41         debian/ovsdbmonitor.manpages \
42         debian/ovs-monitor-ipsec \
43         debian/python-openvswitch.dirs \
44         debian/python-openvswitch.install \
45         debian/rules \
46         debian/rules.modules \
47         debian/source/format
48
49 check-debian-changelog-version:
50         @DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`;                \
51         if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \
52         then                                                                 \
53           :;                                                                 \
54         else                                                                 \
55           echo "Update debian/changelog to mention version $(VERSION)";      \
56           exit 1;                                                            \
57         fi
58 ALL_LOCAL += check-debian-changelog-version
59 DIST_HOOKS += check-debian-changelog-version
60
61 $(srcdir)/debian/copyright: AUTHORS debian/copyright.in
62         { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in;   \
63           sed '1,/^$$/d' $(srcdir)/AUTHORS |                               \
64                 sed -n -e '/^$$/q' -e 's/^/  /p';                          \
65           sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in;           \
66         } > $@
67
68 DISTCLEANFILES += debian/copyright