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