Remove TODO from binary packaging

This commit is contained in:
Grégory Soutadé 2012-06-14 20:27:58 +02:00
parent 44636c5882
commit 24cb1df7a5
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ if [ "$1" == "clean" ] ; then
make clean make clean
fi fi
make || (echo "Compilation failed" ; exit 1) make || (echo "Compilation failed" ; exit 1)
cp -r kc ressources TODO AUTHORS COPYING README* www install.sh "$DIR" cp -r kc ressources AUTHORS COPYING README* www install.sh "$DIR"
rm -rf "$DIR"/ressources/po/* rm -rf "$DIR"/ressources/po/*
cp -r ressources/po/*.qm "$DIR/ressources/po/" # Copy only QM files cp -r ressources/po/*.qm "$DIR/ressources/po/" # Copy only QM files
find "$DIR" -type f -executable -exec ${HOST}strip \{\} \; find "$DIR" -type f -executable -exec ${HOST}strip \{\} \;
@ -32,7 +32,7 @@ if [ -d "debian" ] ; then
DEB_FILE="kisscount_${VERSION}-1_${ARCH}.deb" DEB_FILE="kisscount_${VERSION}-1_${ARCH}.deb"
rm -rf "$DEB_DIR" "$DEB_FILE" rm -rf "$DEB_DIR" "$DEB_FILE"
mkdir "$DEB_DIR" mkdir "$DEB_DIR"
cp -r kc.1 kc debian README* ChangeLog TODO AUTHORS COPYING ressources "$DEB_DIR" cp -r kc.1 kc debian README* ChangeLog AUTHORS COPYING ressources "$DEB_DIR"
rm -rf "$DEB_DIR/ressources/po/*" rm -rf "$DEB_DIR/ressources/po/*"
cp -r ressources/po/*.qm "$DEB_DIR"/ressources/po/ # Copy only QM files cp -r ressources/po/*.qm "$DEB_DIR"/ressources/po/ # Copy only QM files
cd "$DEB_DIR" cd "$DEB_DIR"

View File

@ -15,7 +15,7 @@ make || (echo "Compilation failed" ; exit 1)
rm -rf "$DIR" rm -rf "$DIR"
mkdir -p "$DIR" mkdir -p "$DIR"
cp -r lib/*.dll* "$DIR" cp -r lib/*.dll* "$DIR"
cp -r kc ressources TODO AUTHORS COPYING README README.fr www "$DIR" cp -r kc ressources AUTHORS COPYING README README.fr www "$DIR"
rm -rf "$DIR"/ressources/po/* rm -rf "$DIR"/ressources/po/*
cp -r ressources/po/*.qm "$DIR/ressources/po/" # Copy only QM files cp -r ressources/po/*.qm "$DIR/ressources/po/" # Copy only QM files
mv "$DIR"/kc "$DIR"/kc.exe mv "$DIR"/kc "$DIR"/kc.exe