aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-05 01:33:31 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-05 01:42:18 +0200
commit14484783a42bcd78cf75231f644b5d7ea9d3c72b (patch)
tree248dbfe01f2e71738e85888ad43d656c06c51791 /debian/rules
parenta246de8bd1b37f1b9881b38036a736305e3e4052 (diff)
downloadlibpam-x2go-14484783a42bcd78cf75231f644b5d7ea9d3c72b.tar.gz
libpam-x2go-14484783a42bcd78cf75231f644b5d7ea9d3c72b.tar.bz2
libpam-x2go-14484783a42bcd78cf75231f644b5d7ea9d3c72b.zip
debian/rules: Fix cruft removal.
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 20ad848..0969a92 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,9 +12,11 @@ include /usr/share/cdbs/1/rules/utils.mk
DEB_MAKE_CHECK_TARGET = check
# Remove .a and .la files from /lib/security
-binary-post-install/libpam-x2go::
+remove-cruft::
find $(DEB_DESTDIR)/lib/security -type f \
\( -name '*.a' -o -name '*.la' \) \
-exec rm '{}' +
+common-install-indep:: remove-cruft
+common-install-arch:: remove-cruft
common-binary-post-install-arch:: list-missing