debian/changelog |    7 +++++++
 debian/rules     |    2 ++
 2 files changed, 9 insertions(+)

New commits:
commit 2d14adab92108e10a8aef8097b7b29df8c591242
Author: Julien Cristau <[EMAIL PROTECTED]>
Date:   Tue Feb 20 20:47:50 2007 +0100

    Don't strip modules when DEB_BUILD_OPTIONS contains nostrip.

diff --git a/debian/changelog b/debian/changelog
index 1972f72..0e68b6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xorg-server (2:1.2.0-4) UNRELEASED; urgency=low
+
+  * Don't strip modules when DEB_BUILD_OPTIONS contains nostrip.  Thanks,
+    Cyril Brulebois!
+
+ -- Julien Cristau <[EMAIL PROTECTED]>  Tue, 20 Feb 2007 20:45:08 +0100
+
 xorg-server (2:1.2.0-3) experimental; urgency=low
 
   [ Julien Cristau ]
diff --git a/debian/rules b/debian/rules
index c15ca5a..e212f15 100755
--- a/debian/rules
+++ b/debian/rules
@@ -112,9 +112,11 @@ binary-arch: build install
        $(INSTALL) -m 755 debian/xserver-xorg-core.bug.script 
debian/xserver-xorg-core/usr/share/bug/xserver-xorg-core/script
        dh_link
        dh_strip --exclude=usr/lib/xorg/modules
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
        find debian/xserver-xorg-core/usr/lib/xorg/modules -name "lib*.so" | \
          xargs --no-run-if-empty \
          strip --strip-debug --remove-section=.note --remove-section=.comment
+endif
        dh_compress
        dh_fixperms
        dh_installdeb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to