summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2014-02-06 01:35:39 +0100
committerMarco d'Itri <md@linux.it>2014-02-07 06:33:14 +0100
commit9b7c00dd3265e006effcb955e03add30e4f82d0a (patch)
treee093bff3ceb10085701cc0709d031b1e22b5d051 /debian
parentd2ee7af1d715d571f0e3c5d34131b07dc5ca9847 (diff)
downloadwhois-9b7c00dd3265e006effcb955e03add30e4f82d0a.tar.gz
debian/rules: remove the version sanity check
It is now part of make_version_h.pl.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules5
1 files changed, 0 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 9fd085d..b975132 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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