diff options
author | Cyril Brulebois <cyril.brulebois@ariadnext.com> | 2011-06-17 16:32:15 +0200 |
---|---|---|
committer | Cyril Brulebois <cyril.brulebois@ariadnext.com> | 2011-06-17 16:44:48 +0200 |
commit | fc99971aef255518293b2e7bc197887d31373467 (patch) | |
tree | d7cf842c31882cce3fb5662106aaf08310f7fe57 | |
parent | e084172b8548ba7d7c3b1670b4ec9fa20ff4c527 (diff) |
Add dh_strip call.
-rwxr-xr-x | debian/rules | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/debian/rules b/debian/rules index 8c7312b..1effe34 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +PACKAGE=libwayland0 + # Install in debian/tmp to retain control through dh_install: override_dh_auto_install: dh_auto_install --destdir=debian/tmp @@ -10,12 +12,15 @@ override_dh_install: dh_install --fail-missing # Generate hard dependencies: -override_dh_makeshlibs: P=libwayland0 override_dh_makeshlibs: V=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}') override_dh_makeshlibs: sed 's/@@currentversion@@/(= $(V))/g' \ - debian/$(P).symbols.in > debian/$(P).symbols - dh_makeshlibs -V '$(P) (= $(V))' -- -c4 + debian/$(PACKAGE).symbols.in > debian/$(PACKAGE).symbols + dh_makeshlibs -V '$(PACKAGE) (= $(V))' -- -c4 + +# Debug package: +override_dh_strip: + dh_strip --dbg-package=$(PACKAGE)-dbg %: dh $@ --with autoreconf -Bbuild/ |