r1779 - packages/trunk/vdrift/debian

Eddy Petrisor eddyp-guest at costa.debian.org
Thu Oct 5 19:15:07 UTC 2006


Author: eddyp-guest
Date: 2006-10-05 19:15:07 +0000 (Thu, 05 Oct 2006)
New Revision: 1779

Modified:
   packages/trunk/vdrift/debian/changelog
   packages/trunk/vdrift/debian/rules
Log:
honour nostrip and strip everything

Modified: packages/trunk/vdrift/debian/changelog
===================================================================
--- packages/trunk/vdrift/debian/changelog	2006-10-05 18:58:49 UTC (rev 1778)
+++ packages/trunk/vdrift/debian/changelog	2006-10-05 19:15:07 UTC (rev 1779)
@@ -13,15 +13,17 @@
   * add patch fix_datadir.diff
    + builddeps on quilt
 
-  [ Eddy Petrişor ]
+  [ Eddy Petrișor ]
   * Added Romanian translation to desktop file
+  * fix strip command so it excludes comments and honour nostrip in
+    DEB_BUILD_OPTIONS
 
   [ Sam Hocevar ]
   * debian/control:
     + Uncapitalised short descriptions and removed useless information
       from them ("open source").
 
- -- Gonéri Le Bouder <goneri at rulezlan.org>  Sat, 30 Sep 2006 00:05:58 +0200
+ -- Eddy Petrișor <eddy.petrisor at gmail.com>  Thu,  5 Oct 2006 22:14:20 +0300
 
 vdrift (0.0.2006.02.21-1) unstable; urgency=low
 

Modified: packages/trunk/vdrift/debian/rules
===================================================================
--- packages/trunk/vdrift/debian/rules	2006-10-05 18:58:49 UTC (rev 1778)
+++ packages/trunk/vdrift/debian/rules	2006-10-05 19:15:07 UTC (rev 1779)
@@ -12,6 +12,12 @@
 	CFLAGS += -O2
 endif
 
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	NOSTRIP = yes
+else
+	NOSTRIP = no
+endif
+
 configure: configure-stamp
 configure-stamp:
 	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
@@ -55,7 +61,7 @@
 	# i18n
 	mkdir -p debian/tmp/usr/share/locale/nl/LC_MESSAGES/
 	cp po/nl.mo debian/tmp/usr/share/locale/nl/LC_MESSAGES/
-	strip -s debian/tmp/usr/games/vdrift
+	[ NOSTRIP = 'yes' ] || strip -R .comment -R .note --strip-unneeded debian/tmp/usr/games/vdrift
 
 # Build architecture-independent files here.
 binary-indep: build install




More information about the Pkg-games-commits mailing list