Fixs for Debian packaging
This commit is contained in:
parent
6a20953757
commit
221bd7eb40
3
debian/rules
vendored
3
debian/rules
vendored
|
@ -25,3 +25,6 @@ export DH_VERBOSE=1
|
||||||
|
|
||||||
# install:
|
# install:
|
||||||
# $(MAKE) install DESTDIR=$(CURDIR)/debian/kisscount/
|
# $(MAKE) install DESTDIR=$(CURDIR)/debian/kisscount/
|
||||||
|
|
||||||
|
|
||||||
|
override_dh_strip:
|
||||||
|
|
|
@ -19,7 +19,7 @@ fi
|
||||||
make || (echo "Compilation failed" ; exit 1)
|
make || (echo "Compilation failed" ; exit 1)
|
||||||
mkdir -p "$DIR"/lib
|
mkdir -p "$DIR"/lib
|
||||||
cp -r lib/freechart/lib/*.so* lib/wxsqlite3-1.9.9/lib/*.so* "$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 \{\} \;
|
find "$DIR" -type f -executable -exec ${PREFIX}strip \{\} \;
|
||||||
tar -jcf "$FILE" "$DIR"
|
tar -jcf "$FILE" "$DIR"
|
||||||
rm -rf "$DIR"
|
rm -rf "$DIR"
|
||||||
|
@ -29,6 +29,7 @@ rm -rf "$DEB_DIR" "$DEB_FILE"
|
||||||
mkdir -p "$DEB_DIR/lib"
|
mkdir -p "$DEB_DIR/lib"
|
||||||
cp -r lib/freechart/lib/*.so* lib/wxsqlite3-1.9.9/lib/*.so* "$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"
|
cp -r kc.1 kc debian README* ChangeLog TODO CONTRIBUTORS ressources "$DEB_DIR"
|
||||||
|
${PREFIX}strip lib/* kc
|
||||||
#tar -zcf "$DEB_FILE" "$DEB_DIR"
|
#tar -zcf "$DEB_FILE" "$DEB_DIR"
|
||||||
cd "$DEB_DIR"
|
cd "$DEB_DIR"
|
||||||
mv debian/Makefile .
|
mv debian/Makefile .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user