[med-svn] r11552 - trunk/packages/fis-gtm/trunk/debian

Andreas Tille tille at alioth.debian.org
Wed Jul 4 20:58:30 UTC 2012


Author: tille
Date: 2012-07-04 20:58:29 +0000 (Wed, 04 Jul 2012)
New Revision: 11552

Modified:
   trunk/packages/fis-gtm/trunk/debian/changelog
   trunk/packages/fis-gtm/trunk/debian/rules
Log:
For some strange reason dh_strip does not strip debug symbols from some tools.  This is fixed in a override_dh_strip but it should be clarified whether there is a more elegant solution



Modified: trunk/packages/fis-gtm/trunk/debian/changelog
===================================================================
--- trunk/packages/fis-gtm/trunk/debian/changelog	2012-07-04 20:47:59 UTC (rev 11551)
+++ trunk/packages/fis-gtm/trunk/debian/changelog	2012-07-04 20:58:29 UTC (rev 11552)
@@ -57,6 +57,9 @@
      - Do not duplicate long description
      - Adapted Vcs fields
      - Versioned Build-Depends cmake (>= 2.8.5)
+  * debian/rules: For some strange reason dh_strip does not strip debug
+    symbols from some tools.  This is fixed in a override_dh_strip but it
+    should be clarified whether there is a more elegant solution
 
  -- Andreas Tille <tille at debian.org>  Fri, 29 Jun 2012 16:54:54 +0200
 

Modified: trunk/packages/fis-gtm/trunk/debian/rules
===================================================================
--- trunk/packages/fis-gtm/trunk/debian/rules	2012-07-04 20:47:59 UTC (rev 11551)
+++ trunk/packages/fis-gtm/trunk/debian/rules	2012-07-04 20:58:29 UTC (rev 11552)
@@ -92,3 +92,12 @@
 
 override_dh_installchangelogs:
 	dh_installchangelogs debian/upstream-files/GTM_V5.5-000_Release_Notes.html
+
+# for some strange reason dh_strip does not seem to do a reliable job
+# FIXME: there should be some more elegant solution like this
+override_dh_strip:
+	dh_strip
+	if [ -d $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR) ] ; then \
+	    cd $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR) ; \
+	    strip dse gtcm_gnp_server gtcm_play gtcm_server gtcm_shmclean lke mupip ; \
+	fi




More information about the debian-med-commit mailing list