summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2013-05-10 00:38:31 +0200
committerAxel Beckert <abe@deuxchevaux.org>2013-05-10 02:14:50 +0200
commitcb87cc19c77f61873ccbbf2b8d37c5ea8a593432 (patch)
treee5cd73bab5b677aead1053b93a685d3af747c691 /debian/rules
parent590dcd96ea43b7c1fd3e63cd1cd38e7663041ca1 (diff)
downloadzsh-cb87cc19c77f61873ccbbf2b8d37c5ea8a593432.tar.gz
zsh-cb87cc19c77f61873ccbbf2b8d37c5ea8a593432.zip
Add Built-Using header to zsh-static
Bump build-dependency on dpkg-dev to >= 1.16.2~
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 20e5e5937..879934c55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,8 @@ CONFIGFLAGS += --enable-zsh-secure-free
CONFIGFLAGS += --enable-zsh-hash-debug
endif
+BUILT_USING=$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W libcap-dev libncursesw5-dev libpcre3-dev eglibc)
+
build: build-arch build-indep
build-arch: configure-stamp
@@ -202,7 +204,7 @@ binary-arch-static: build-static
dh_fixperms -pzsh-static
dh_installdeb -pzsh-static
dh_md5sums -pzsh-static
- dh_gencontrol -pzsh-static
+ dh_gencontrol -pzsh-static -- -VBuilt-Using="$(BUILT_USING)"
dh_builddeb -pzsh-static -- -Zxz
binary-arch-dev: build-arch