X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fautomake.mk;h=948a619e727c08008a0536f13991ef53bc348648;hb=HEAD;hp=5a23d46326fcd92b34d3c404c0c0fa23cea2146a;hpb=3d92fe960c9ad10fab3978623e4f77045340c36b;p=sliver-openvswitch.git diff --git a/debian/automake.mk b/debian/automake.mk index 5a23d4632..948a619e7 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -4,30 +4,26 @@ EXTRA_DIST += \ debian/control \ debian/control.modules.in \ debian/copyright \ - debian/corekeeper.cron.daily \ - debian/corekeeper.init \ - debian/corekeeper.override \ + debian/copyright.in \ + debian/dkms.conf.in \ debian/dirs \ debian/openvswitch-common.dirs \ + debian/openvswitch-common.docs \ debian/openvswitch-common.install \ debian/openvswitch-common.manpages \ - debian/openvswitch-controller.README.Debian \ - debian/openvswitch-controller.default \ - debian/openvswitch-controller.dirs \ - debian/openvswitch-controller.init \ - debian/openvswitch-controller.install \ - debian/openvswitch-controller.manpages \ - debian/openvswitch-controller.postinst \ debian/openvswitch-datapath-module-_KVERS_.postinst.modules.in \ + debian/openvswitch-datapath-dkms.postinst \ + debian/openvswitch-datapath-dkms.prerm \ debian/openvswitch-datapath-source.README.Debian \ debian/openvswitch-datapath-source.copyright \ debian/openvswitch-datapath-source.dirs \ debian/openvswitch-datapath-source.install \ - debian/openvswitch-pki-server.apache2 \ - debian/openvswitch-pki-server.dirs \ - debian/openvswitch-pki-server.install \ - debian/openvswitch-pki-server.postinst \ + debian/openvswitch-ipsec.dirs \ + debian/openvswitch-ipsec.init \ + debian/openvswitch-ipsec.install \ + debian/openvswitch-pki.dirs \ debian/openvswitch-pki.postinst \ + debian/openvswitch-pki.postrm \ debian/openvswitch-switch.README.Debian \ debian/openvswitch-switch.dirs \ debian/openvswitch-switch.init \ @@ -37,16 +33,40 @@ EXTRA_DIST += \ debian/openvswitch-switch.postinst \ debian/openvswitch-switch.postrm \ debian/openvswitch-switch.template \ + debian/openvswitch-switch.links \ + debian/openvswitch-test.dirs \ + debian/openvswitch-test.install \ + debian/openvswitch-test.manpages \ + debian/openvswitch-vtep.default \ + debian/openvswitch-vtep.dirs \ + debian/openvswitch-vtep.init \ + debian/openvswitch-vtep.install \ + debian/openvswitch-vtep.manpages \ + debian/ovs-monitor-ipsec \ + debian/python-openvswitch.dirs \ + debian/python-openvswitch.install \ debian/rules \ - debian/rules.modules + debian/rules.modules \ + debian/ifupdown.sh \ + debian/source/format check-debian-changelog-version: - @if $(FGREP) '($(VERSION))' $(srcdir)/debian/changelog >/dev/null; \ - then \ - :; \ - else \ - echo "Update debian/changelog to mention version $(VERSION)"; \ - exit 1; \ + @DEB_VERSION=`echo '$(VERSION)' | sed 's/pre/~pre/'`; \ + if $(FGREP) '($(DEB_VERSION)' $(srcdir)/debian/changelog >/dev/null; \ + then \ + :; \ + else \ + echo "Update debian/changelog to mention version $(VERSION)"; \ + exit 1; \ fi ALL_LOCAL += check-debian-changelog-version DIST_HOOKS += check-debian-changelog-version + +$(srcdir)/debian/copyright: AUTHORS debian/copyright.in + { sed -n -e '/%AUTHORS%/q' -e p < $(srcdir)/debian/copyright.in; \ + sed '1,/^$$/d' $(srcdir)/AUTHORS | \ + sed -n -e '/^$$/q' -e 's/^/ /p'; \ + sed -e '1,/%AUTHORS%/d' $(srcdir)/debian/copyright.in; \ + } > $@ + +DISTCLEANFILES += debian/copyright