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