X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fautomake.mk;h=948a619e727c08008a0536f13991ef53bc348648;hb=HEAD;hp=f8f91df68efaa335cd7a619b680c19a25d4438f5;hpb=3becd6c845c7d507623506795a809888f7091479;p=sliver-openvswitch.git diff --git a/debian/automake.mk b/debian/automake.mk index f8f91df68..948a619e7 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -4,39 +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-monitor.default \ - debian/openvswitch-monitor.dirs \ - debian/openvswitch-monitor.init \ - debian/openvswitch-monitor.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-switch-config.dirs \ - debian/openvswitch-switch-config.install \ - debian/openvswitch-switch-config.manpages \ - debian/openvswitch-switch-config.overrides \ - debian/openvswitch-switch-config.templates \ + debian/openvswitch-pki.postrm \ debian/openvswitch-switch.README.Debian \ debian/openvswitch-switch.dirs \ debian/openvswitch-switch.init \ @@ -46,30 +33,40 @@ EXTRA_DIST += \ debian/openvswitch-switch.postinst \ debian/openvswitch-switch.postrm \ debian/openvswitch-switch.template \ - debian/openvswitch-switchui.copyright \ - debian/openvswitch-switchui.default \ - debian/openvswitch-switchui.dirs \ - debian/openvswitch-switchui.init \ - debian/openvswitch-switchui.install \ - debian/openvswitch-wdt.default \ - debian/openvswitch-wdt.dirs \ - debian/openvswitch-wdt.init \ - debian/openvswitch-wdt.install \ - debian/ovs-switch-setup \ - debian/ovs-switch-setup.8 \ - debian/po/POTFILES.in \ - debian/po/templates.pot \ - debian/reconfigure \ + 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