ofproto-dpif: Factor out VLAN splinter flow adjustment into new function.
[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/dkms.conf.in \
9         debian/dirs \
10         debian/openvswitch-brcompat.install \
11         debian/openvswitch-brcompat.manpages \
12         debian/openvswitch-brcompat.postinst \
13         debian/openvswitch-brcompat.postrm \
14         debian/openvswitch-common.dirs \
15         debian/openvswitch-common.install \
16         debian/openvswitch-common.manpages \
17         debian/openvswitch-controller.README.Debian \
18         debian/openvswitch-controller.default \
19         debian/openvswitch-controller.dirs \
20         debian/openvswitch-controller.init \
21         debian/openvswitch-controller.install \
22         debian/openvswitch-controller.manpages \
23         debian/openvswitch-controller.postinst \
24         debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in \
25         debian/openvswitch-datapath-dkms.postinst \
26         debian/openvswitch-datapath-dkms.prerm \
27         debian/openvswitch-datapath-source.README.Debian \
28         debian/openvswitch-datapath-source.copyright \
29         debian/openvswitch-datapath-source.dirs \
30         debian/openvswitch-datapath-source.install \
31         debian/openvswitch-ipsec.dirs \
32         debian/openvswitch-ipsec.init \
33         debian/openvswitch-ipsec.install \
34         debian/openvswitch-pki.dirs \
35         debian/openvswitch-pki.postinst \
36         debian/openvswitch-pki.postrm \
37         debian/openvswitch-switch.README.Debian \
38         debian/openvswitch-switch.dirs \
39         debian/openvswitch-switch.init \
40         debian/openvswitch-switch.install \
41         debian/openvswitch-switch.logrotate \
42         debian/openvswitch-switch.manpages \
43         debian/openvswitch-switch.postinst \
44         debian/openvswitch-switch.postrm \
45         debian/openvswitch-switch.template \
46         debian/openvswitch-switch.links \
47         debian/openvswitch-test.dirs \
48         debian/openvswitch-test.install \
49         debian/openvswitch-test.manpages \
50         debian/ovsdbmonitor.install \
51         debian/ovsdbmonitor.manpages \
52         debian/ovs-monitor-ipsec \
53         debian/python-openvswitch.dirs \
54         debian/python-openvswitch.install \
55         debian/rules \
56         debian/rules.modules \
57         debian/ifupdown.sh \
58         debian/source/format
59
60 check-debian-changelog-version:
61         @DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`;                \
62         if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \
63         then                                                                 \
64           :;                                                                 \
65         else                                                                 \
66           echo "Update debian/changelog to mention version $(VERSION)";      \
67           exit 1;                                                            \
68         fi
69 ALL_LOCAL += check-debian-changelog-version
70 DIST_HOOKS += check-debian-changelog-version
71
72 $(srcdir)/debian/copyright: AUTHORS debian/copyright.in
73         { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in;   \
74           sed '1,/^$$/d' $(srcdir)/AUTHORS |                               \
75                 sed -n -e '/^$$/q' -e 's/^/  /p';                          \
76           sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in;           \
77         } > $@
78
79 DISTCLEANFILES += debian/copyright