summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2011-07-01 02:04:34 -0700
committerSteve Langasek <vorlon@debian.org>2019-01-08 22:11:46 -0800
commite3a899f5a12e89685920e57bc37504e4fb6aa35f (patch)
treeaf1b50bdf37ac6a3dbe9c9eec4d9338e4f6f2a2e /debian/rules
parent9ebb1ae34d0ab37571720bb571a69dd38a3b10a5 (diff)
Move debian/libpam0g-dev.install to debian/libpam0g-dev.install.in
and substitute the multiarch path at build time, so our .a files go to the multiarch dir instead of to /usr/lib. Thanks to Riku Voipio for pointing out the bug.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 774e4b72..41bb4ee7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -35,6 +35,7 @@ override_dh_compress:
# .install files don't have "except for" handling, so we need to exclude
# our module that doesn't match right here
override_dh_install:
+ sed -e"s/@DEB_HOST_MULTIARCH/$(DEB_HOST_MULTIARCH)/g" $(d)/libpam0g-dev.install.in > $(d)/libpam0g-dev.install
ifneq (,$(findstring libpam-modules, $(shell dh_listpackages)))
dh_install -plibpam-modules -Xpam_cracklib
endif