[Pkg-xfce-commits] r10176 - in /goodies/trunk/xfce4-xkb-plugin/debian: changelog rules

Unit 193 unit193-guest at moszumanska.debian.org
Tue Nov 14 20:36:16 UTC 2017


Author: unit193-guest
Date: Tue Nov 14 20:36:16 2017
New Revision: 10176

URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=10176
Log:
d/rules: Use pkg-info.mk and DEB_SOURCE to remove 'la' files.

Modified:
    goodies/trunk/xfce4-xkb-plugin/debian/changelog
    goodies/trunk/xfce4-xkb-plugin/debian/rules

Modified: goodies/trunk/xfce4-xkb-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-xkb-plugin/debian/changelog?rev=10176&op=diff
==============================================================================
--- goodies/trunk/xfce4-xkb-plugin/debian/changelog	(original)
+++ goodies/trunk/xfce4-xkb-plugin/debian/changelog	Tue Nov 14 20:36:16 2017
@@ -15,6 +15,7 @@
     - Drop build-depends on libxml-parser-perl and dpkg-dev.
     - Use https in Vcs-Browser field.
     - Update homepage as listed in the plugin.
+  * d/rules: Use pkg-info.mk and DEB_SOURCE to remove 'la' files.
 
  -- Yves-Alexis Perez <corsac at debian.org>  Tue, 14 Nov 2017 15:25:37 -0500
 

Modified: goodies/trunk/xfce4-xkb-plugin/debian/rules
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-xkb-plugin/debian/rules?rev=10176&op=diff
==============================================================================
--- goodies/trunk/xfce4-xkb-plugin/debian/rules	(original)
+++ goodies/trunk/xfce4-xkb-plugin/debian/rules	Tue Nov 14 20:36:16 2017
@@ -1,4 +1,6 @@
 #!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
 
 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -Wl,-O1 -Wl,-z,defs
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
@@ -7,6 +9,5 @@
 	dh $@
 
 override_dh_auto_install:
-	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.a
-	-rm -rf debian/`dh_listpackages`/usr/lib/xfce4/panel-plugins/*.la
 	dh_auto_install
+	find debian/$(DEB_SOURCE)/ -name '*.la' -delete




More information about the Pkg-xfce-commits mailing list