Adding override_dh_auto_install rule to remove unused .la file.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 8 Dec 2014 10:56:29 +0000 (12:56 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 8 Dec 2014 10:56:29 +0000 (12:56 +0200)
debian/rules

index 8562221..8643d06 100755 (executable)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
@@ -24,3 +25,8 @@ override_dh_strip:
 override_dh_makeshlibs:
        # plugins are not shared libs so disable processing for them
        dh_makeshlibs -X/plugins/
+
+# remove unused .la file from the package
+override_dh_auto_install:
+       dh_auto_install
+       rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/lxpanel/*.la