debian: Added a manpage for ovs-bugtool
[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/corekeeper.cron.daily \
9         debian/corekeeper.init \
10         debian/corekeeper.override \
11         debian/dirs \
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-server.apache2 \
31         debian/openvswitch-pki-server.dirs \
32         debian/openvswitch-pki-server.install \
33         debian/openvswitch-pki-server.postinst \
34         debian/openvswitch-pki.postinst \
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/ovs-bugtool \
45         debian/ovs-bugtool.8 \
46         debian/ovs-monitor-ipsec \
47         debian/python-openvswitch.dirs \
48         debian/python-openvswitch.install \
49         debian/rules \
50         debian/rules.modules
51
52 check-debian-changelog-version:
53         @if $(FGREP) '($(VERSION))' $(srcdir)/debian/changelog >/dev/null; \
54         then                                                               \
55           :;                                                               \
56         else                                                               \
57           echo "Update debian/changelog to mention version $(VERSION)";    \
58           exit 1;                                                          \
59         fi
60 ALL_LOCAL += check-debian-changelog-version
61 DIST_HOOKS += check-debian-changelog-version
62
63 $(srcdir)/debian/copyright: AUTHORS debian/copyright.in
64         { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in;   \
65           sed '1,/^$$/d' $(srcdir)/AUTHORS |                               \
66                 sed -n -e '/^$$/q' -e 's/^/  /p';                          \
67           sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in;           \
68         } > $@
69
70 DISTCLEANFILES += debian/copyright