[Pkg-xfce-commits] r7080 - goodies/trunk/xfce4-fsguard-plugin/debian

Yves-Alexis Perez corsac at alioth.debian.org
Sat Jun 30 01:30:20 UTC 2012


Author: corsac
Date: 2012-06-30 13:30:20 +0000 (Sat, 30 Jun 2012)
New Revision: 7080

Modified:
   goodies/trunk/xfce4-fsguard-plugin/debian/changelog
   goodies/trunk/xfce4-fsguard-plugin/debian/rules
Log:
pass --disable-static to configure and use find to delete .la files. 

Modified: goodies/trunk/xfce4-fsguard-plugin/debian/changelog
===================================================================
--- goodies/trunk/xfce4-fsguard-plugin/debian/changelog	2012-06-30 13:27:48 UTC (rev 7079)
+++ goodies/trunk/xfce4-fsguard-plugin/debian/changelog	2012-06-30 13:30:20 UTC (rev 7080)
@@ -9,6 +9,7 @@
     - add build-dep on autotools-dev.
   * debian/rules:
     - use autotools-dev addon to get rid of old config.{guess,sub} files.
+    - pass --disable-static to configure and use find to delete .la files. 
 
  -- Yves-Alexis Perez <corsac at debian.org>  Sat, 30 Jun 2012 15:12:43 +0200
 

Modified: goodies/trunk/xfce4-fsguard-plugin/debian/rules
===================================================================
--- goodies/trunk/xfce4-fsguard-plugin/debian/rules	2012-06-30 13:27:48 UTC (rev 7079)
+++ goodies/trunk/xfce4-fsguard-plugin/debian/rules	2012-06-30 13:30:20 UTC (rev 7080)
@@ -3,12 +3,14 @@
 export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,--as-needed -Wl,-O1
 export DEB_BUILD_MAINT_OPTIONS=hardening=+pie,+bindnow
 
-override_dh_install:
-	-rm -rf debian/`dh_listpackages`/usr/lib/$(DEB_HOST_MULTIARCH)/xfce4/panel-plugins/*.a
-	-rm -rf debian/`dh_listpackages`/usr/lib/$(DEB_HOST_MULTIARCH)/xfce4/panel-plugins/*.la
+override_dh_auto_install:
 	dh_install --fail-missing
+	find debian/`dh_listpackages`/usr/lib -name '*.la' -delete
 
 override_dh_auto_test:
 
+override_dh_auto_configure:
+	dh_auto_configure -- --disable-static
+
 %:
 	dh $@ --parallel --with autotools-dev




More information about the Pkg-xfce-commits mailing list