Rename ressources into resources
This commit is contained in:
@@ -14,8 +14,8 @@ for p in find xgettext poeditor lconvert lrelease ; do
|
||||
done
|
||||
|
||||
CPP_FILE_LIST=`find src -name '*.cpp' -print`
|
||||
xgettext --from-code utf-8 -d kisscount -s --keyword=_ -p ./ressources/po -o kisscount.pot $CPP_FILE_LIST
|
||||
for po in ./ressources/po/*.po ; do
|
||||
xgettext --from-code utf-8 -d kisscount -s --keyword=_ -p ./resources/po -o kisscount.pot $CPP_FILE_LIST
|
||||
for po in ./resources/po/*.po ; do
|
||||
ts=`echo $po | sed s/po$/ts/`
|
||||
poeditor $po
|
||||
echo lconvert -locations relative $po -o $ts
|
||||
|
@@ -20,9 +20,9 @@ if [ "$1" == "clean" ] ; then
|
||||
make clean
|
||||
fi
|
||||
make || (echo "Compilation failed" ; exit 1)
|
||||
cp -r kc ressources AUTHORS COPYING README* www install.sh "$DIR"
|
||||
rm -rf "$DIR"/ressources/po/*
|
||||
cp -r ressources/po/*.qm "$DIR/ressources/po/" # Copy only QM files
|
||||
cp -r kc resources AUTHORS COPYING README* www install.sh "$DIR"
|
||||
rm -rf "$DIR"/resources/po/*
|
||||
cp -r resources/po/*.qm "$DIR/resources/po/" # Copy only QM files
|
||||
find "$DIR" -type f -executable -exec ${HOST}strip \{\} \;
|
||||
tar -jcf "$FILE" "$DIR"
|
||||
rm -rf "$DIR"
|
||||
@@ -32,9 +32,9 @@ if [ -d "debian" ] ; then
|
||||
DEB_FILE="kisscount_${VERSION}-1_${ARCH}.deb"
|
||||
rm -rf "$DEB_DIR" "$DEB_FILE"
|
||||
mkdir "$DEB_DIR"
|
||||
cp -r kc.1 kc debian README* ChangeLog AUTHORS COPYING TODO ressources "$DEB_DIR"
|
||||
rm -rf "$DEB_DIR/ressources/po/*"
|
||||
cp -r ressources/po/*.qm "$DEB_DIR"/ressources/po/ # Copy only QM files
|
||||
cp -r kc.1 kc debian README* ChangeLog AUTHORS COPYING TODO resources "$DEB_DIR"
|
||||
rm -rf "$DEB_DIR/resources/po/*"
|
||||
cp -r resources/po/*.qm "$DEB_DIR"/resources/po/ # Copy only QM files
|
||||
cd "$DEB_DIR"
|
||||
${HOST}strip kc
|
||||
mv debian/Makefile .
|
||||
|
Reference in New Issue
Block a user