summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMarco d'Itri <md@linux.it>2011-11-27 21:19:28 +0100
committerMarco d'Itri <md@linux.it>2013-03-30 02:31:41 +0100
commitdc3da6304326838f4dbef29e95f27be376d6c65b (patch)
tree651bc4488f3f8f5924a969e32d035f17acef412f /debian/rules
parent6c3ca39f2504328fb876cec1a003a4e9689e6753 (diff)
downloadwhois-dc3da6304326838f4dbef29e95f27be376d6c65b.tar.gz
Imported Debian version 5.0.13v5.0.13
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 1 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index 9111f55..523baf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,6 @@ SHELL+= -e
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-#export DH_VERBOSE=1
-
D := $(shell pwd)/debian/whois
VERSION := $(shell dpkg-parsechangelog | sed -n 's/ubuntu[0-9]*$$//; s/\+.*$$//; /^Version/s/.* //p')
@@ -13,7 +11,6 @@ VERSION := $(shell dpkg-parsechangelog | sed -n 's/ubuntu[0-9]*$$//; s/\+.*$$//;
build:
dh_testdir
$(MAKE) CONFIG_FILE="/etc/whois.conf" HAVE_LIBIDN=1 HAVE_ICONV=1
- cd po && $(MAKE) whois.pot
touch $@
clean:
@@ -30,8 +27,7 @@ binary-arch: checkroot build
egrep -q '^#define VERSION "$(VERSION)"$$' config.h
dh_installdirs usr/bin
- install whois mkpasswd $D/usr/bin/
- cd po && $(MAKE) install BASEDIR=$D
+ $(MAKE) install BASEDIR=$D
dh_installman whois.1 mkpasswd.1
dh_installdocs README
dh_installchangelogs