[Pkg-cyrus-sasl2-commits] [cyrus-sasl2] 27/44: Remove static plugins and la files

Ondřej Surý ondrej at debian.org
Sat Dec 31 13:07:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

ondrej pushed a commit to branch master
in repository cyrus-sasl2.

commit 970a0bd9349df50dd748558ca7fed6678cc0cc72
Author: Ondřej Surý <ondrej at sury.org>
Date:   Tue Oct 25 14:41:42 2016 +0200

    Remove static plugins and la files
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 31e264a..450b227 100755
--- a/debian/rules
+++ b/debian/rules
@@ -150,6 +150,12 @@ override_dh_auto_build:
 override_dh_auto_install:
 	dh_auto_install -B$(TMPBUILD) -- sasldir=/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2
 
+	# Remove static plugins - they are useless
+	rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2/*.a
+	# Remove libtool la files, they are eeevil
+	rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/*.la \
+	   debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2/*.la
+
 	# Note the version of Berkeley DB used to build this package
 	mkdir -p debian/tmp/usr/lib/sasl2
 	echo $(BDB_VERSION) > debian/tmp/usr/lib/sasl2/berkeley_db.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cyrus-sasl2/cyrus-sasl2.git



More information about the Pkg-cyrus-sasl2-commits mailing list