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

Yves-Alexis Perez corsac at moszumanska.debian.org
Mon Nov 3 22:13:22 UTC 2014


Author: corsac
Date: Mon Nov  3 22:13:21 2014
New Revision: 8719

URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=8719
Log:
* debian/rules:
  - update paths for .a/.la files removal.

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

Modified: goodies/trunk/xfce4-netload-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-netload-plugin/debian/changelog?rev=8719&op=diff
==============================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/changelog	(original)
+++ goodies/trunk/xfce4-netload-plugin/debian/changelog	Mon Nov  3 22:13:21 2014
@@ -7,6 +7,10 @@
   * New upstream release
   * debian/control:
     - Bump standards-version to 3.9.6 (no changes)
+
+  [ Yves-Alexis Perez ]
+  * debian/rules:
+    - update paths for .a/.la files removal.
 
  -- Jackson Doak <noskcaj at ubuntu.com>  Mon, 03 Nov 2014 06:39:35 +1100
 

Modified: goodies/trunk/xfce4-netload-plugin/debian/rules
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-netload-plugin/debian/rules?rev=8719&op=diff
==============================================================================
--- goodies/trunk/xfce4-netload-plugin/debian/rules	(original)
+++ goodies/trunk/xfce4-netload-plugin/debian/rules	Mon Nov  3 22:13:21 2014
@@ -1,11 +1,15 @@
 #!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+include /usr/share/dpkg/architecture.mk
+
 export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed -Wl,-O1
 export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow
 
-override_dh_auto_install:
-	-rm -rf debian/xfce4-netload-plugin/usr/lib/xfce4/panel-plugins/*.a
-	-rm -rf debian/xfce4-netload-plugin/usr/lib/xfce4/panel-plugins/*.la
-	dh_auto_install
+override_dh_install:
+	-rm -f debian/$(DEB_SOURCE)/usr/lib/$(DEB_HOST_MULTIARCH)/xfce4/panel/plugins/*.a
+	-rm -f debian/$(DEB_SOURCE)/usr/lib/$(DEB_HOST_MULTIARCH)/xfce4/panel/plugins/*.la
+	dh_install
 
 %:
 	dh $@




More information about the Pkg-xfce-commits mailing list