aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-10 22:09:00 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2012-11-10 22:09:00 +0100
commitc9c813ad59d8f233bc75043af3cdb9bf78cf2ce7 (patch)
tree918381ae5d66ba9bdf48aba86cb25e0dcc9663ae /debian
parent989b7450ad7bf5fe10718c4ceb39ce4913e71a92 (diff)
downloadlibpam-x2go-c9c813ad59d8f233bc75043af3cdb9bf78cf2ce7.tar.gz
libpam-x2go-c9c813ad59d8f233bc75043af3cdb9bf78cf2ce7.tar.bz2
libpam-x2go-c9c813ad59d8f233bc75043af3cdb9bf78cf2ce7.zip
remove .a and .la files from /lib/security
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index e355a09..2e0ece7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,9 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/clean-la.mk
include /usr/share/cdbs/1/class/autotools.mk
+
+# Remove .a and .la files from /lib/security
+binary-post-install/libpam-x2go::
+ find $(DEB_DESTDIR)/lib/security -type f \
+ \( -name '*.a' -o -name '*.la' \) \
+ -exec rm '{}' + \ No newline at end of file