debian/rules: remove the version sanity check

It is now part of make_version_h.pl.
This commit is contained in:
Marco d'Itri 2014-02-06 01:35:39 +01:00
parent d2ee7af1d7
commit 9b7c00dd32

5
debian/rules vendored
View File

@ -13,8 +13,6 @@ DPKG_EXPORT_BUILDFLAGS = 1
D := $(CURDIR)/debian/whois
VERSION := $(shell dpkg-parsechangelog | sed -n 's/~*ubuntu[0-9]*.*$$//; s/\+.*$$//; /^Version/s/.* //p')
build:
dh_testdir
$(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_LIBIDN=1 HAVE_ICONV=1
@ -30,9 +28,6 @@ binary-arch: checkroot build
dh_testdir
dh_clean
# sanity check
egrep -q '^#define VERSION "$(VERSION)"$$' config.h
dh_installdirs usr/bin
$(MAKE) install BASEDIR=$D
dh_installman whois.1 mkpasswd.1