Fixs for Debian packaging

This commit is contained in:
Grégory Soutadé 2011-03-06 18:32:16 +01:00
parent 6a20953757
commit 221bd7eb40
2 changed files with 5 additions and 1 deletions

3
debian/rules vendored
View File

@ -25,3 +25,6 @@ export DH_VERBOSE=1
# install:
# $(MAKE) install DESTDIR=$(CURDIR)/debian/kisscount/
override_dh_strip:

View File

@ -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 .