From e3a899f5a12e89685920e57bc37504e4fb6aa35f Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Fri, 1 Jul 2011 02:04:34 -0700 Subject: 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. --- debian/rules | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/rules') 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 -- cgit v1.2.3