mirror of
https://github.com/rfc1036/whois.git
synced 2026-04-03 06:40:52 +00:00
debian/rules: remove the version sanity check
It is now part of make_version_h.pl.
This commit is contained in:
parent
d2ee7af1d7
commit
9b7c00dd32
5
debian/rules
vendored
5
debian/rules
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user