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