From 221bd7eb40fdc5614a9abbc280cc190782e697a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Sun, 6 Mar 2011 18:32:16 +0100 Subject: [PATCH] Fixs for Debian packaging --- debian/rules | 3 +++ tools/package.sh | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index bb5c21c..5c7d3aa 100755 --- a/debian/rules +++ b/debian/rules @@ -25,3 +25,6 @@ export DH_VERBOSE=1 # install: # $(MAKE) install DESTDIR=$(CURDIR)/debian/kisscount/ + + +override_dh_strip: diff --git a/tools/package.sh b/tools/package.sh index 3329985..42aea44 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -19,7 +19,7 @@ fi make || (echo "Compilation failed" ; exit 1) mkdir -p "$DIR"/lib cp -r lib/freechart/lib/*.so* lib/wxsqlite3-1.9.9/lib/*.so* "$DIR"/lib -cp -r kc ressources tools/launch_kc.sh TODO CONTRIBUTORS COPYING README* www "$DIR" +cp -r kc ressources TODO CONTRIBUTORS COPYING README* www "$DIR" find "$DIR" -type f -executable -exec ${PREFIX}strip \{\} \; tar -jcf "$FILE" "$DIR" rm -rf "$DIR" @@ -29,6 +29,7 @@ rm -rf "$DEB_DIR" "$DEB_FILE" mkdir -p "$DEB_DIR/lib" cp -r lib/freechart/lib/*.so* lib/wxsqlite3-1.9.9/lib/*.so* "$DEB_DIR/lib" cp -r kc.1 kc debian README* ChangeLog TODO CONTRIBUTORS ressources "$DEB_DIR" +${PREFIX}strip lib/* kc #tar -zcf "$DEB_FILE" "$DEB_DIR" cd "$DEB_DIR" mv debian/Makefile .