X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fautomake.mk;h=046b7c434e6681bfdb1fea558248f362a06272a7;hb=86b87c92669daca4c69f412de2cc42c255368c4f;hp=51eeed5aef2e067d06df34e01fb5be68eb243414;hpb=eb07240a2a1265f705500a0a54c2f1c4bd83af83;p=sliver-openvswitch.git diff --git a/debian/automake.mk b/debian/automake.mk index 51eeed5ae..046b7c434 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -4,10 +4,13 @@ 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-brcompat.install \ + debian/openvswitch-brcompat.manpages \ + debian/openvswitch-brcompat.postinst \ + debian/openvswitch-brcompat.postrm \ debian/openvswitch-common.dirs \ debian/openvswitch-common.install \ debian/openvswitch-common.manpages \ @@ -19,20 +22,18 @@ EXTRA_DIST += \ 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-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 \ @@ -42,21 +43,37 @@ EXTRA_DIST += \ debian/openvswitch-switch.postinst \ debian/openvswitch-switch.postrm \ debian/openvswitch-switch.template \ - 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/ovsdbmonitor.install \ + debian/ovsdbmonitor.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