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