[SCM] Packaging for Tile World branch, master, updated. debian/1.3.0-4-1-g48c6e4a
Gerfried Fuchs
rhonda at debian.at
Fri Sep 12 13:17:28 UTC 2008
The following commit has been merged in the master branch:
commit 0bfaa9e086f10447e0c0bce39e160ad0947a21dd
Author: Gerfried Fuchs <rhonda at debian.at>
Date: Fri Sep 12 13:40:39 2008 +0200
Strip unneeded sections from binary.
diff --git a/debian/changelog b/debian/changelog
index a740e6a..66c4612 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,9 @@ tworld (1.3.0-4) unstable; urgency=low
package.
* Use filter instead of findstring for DEB_BUILD_OPTIONS parsing as
suggested by policy.
+ * Strip unneeded sections from binary.
- -- Gerfried Fuchs <rhonda at debian.at> Fri, 12 Sep 2008 13:37:45 +0200
+ -- Gerfried Fuchs <rhonda at debian.at> Fri, 12 Sep 2008 13:40:26 +0200
tworld (1.3.0-3) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 0946a35..ba3769e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,6 +29,7 @@ else
endif
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
LDFLAGS += -s
+ STRIP = true
endif
include /usr/share/quilt/quilt.make
@@ -64,6 +65,9 @@ install-stamp: build
-rm -rf $(TMP1) $(TMP2)
$(MAKE) install prefix=$(TMP2)/usr/games
+ test "$(STRIP)" != true || strip \
+ --remove-section=.comment --remove-section=.note \
+ $(TMP2)/usr/games/tworld
$(INSTALL_DIR) $(TMP1)/usr
cd $(TMP1)/usr && $(INSTALL_DIR) games share/man/man6 share/doc \
--
Packaging for Tile World
More information about the Pkg-games-commits
mailing list