From d07f033e2bcee704511b115901d957effa562aa0 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 9 May 2014 11:44:56 +0200 Subject: [PATCH] debian/rules: Remove non-packaged *.la files after build. --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index a9fc18c..356ed3d 100755 --- a/debian/rules +++ b/debian/rules @@ -25,6 +25,12 @@ DEB_CONFIGURE_EXTRA_FLAGS := --disable-silent-rules \ --disable-static \ --disable-introspection +common-install-indep:: remove-cruft +common-install-arch:: remove-cruft + +remove-cruft:: + rm -fv debian/tmp/usr/lib/*/*.la + get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE)) @ @@ -45,4 +51,4 @@ $(PKG)_$(VER)$(DTYPE).orig.tar.xz: @echo "# Packing..." find -L "$(PKG)-$(VER)" -xdev -type f -print | sort \ | XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \ - && $(RM) -r "$(PKG)-$(VER)" \ No newline at end of file + && $(RM) -r "$(PKG)-$(VER)"