From 14484783a42bcd78cf75231f644b5d7ea9d3c72b Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 5 May 2018 01:33:31 +0200 Subject: debian/rules: Fix cruft removal. --- debian/rules | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3