X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=debian%2Fautomake.mk;h=c6e584a07b7cbbad13854eb3c692d076d9a76942;hb=37a1300c3ca05a97160d44dc34298c447b50ed9d;hp=a423c6b0a6641886ef0da97a0cc98a91ef11ae1e;hpb=14c3b13622af672ca0868dcab4e0e4c591dd70fb;p=openvswitch diff --git a/debian/automake.mk b/debian/automake.mk index a423c6b0..c6e584a0 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -24,10 +24,6 @@ EXTRA_DIST += \ debian/openvswitch-ipsec.dirs \ debian/openvswitch-ipsec.init \ debian/openvswitch-ipsec.install \ - debian/openvswitch-pki-server.apache2 \ - debian/openvswitch-pki-server.dirs \ - debian/openvswitch-pki-server.install \ - debian/openvswitch-pki-server.postinst \ debian/openvswitch-pki.postinst \ debian/openvswitch-switch.README.Debian \ debian/openvswitch-switch.dirs \ @@ -47,12 +43,13 @@ EXTRA_DIST += \ debian/rules.modules 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