dev/c/gettext_cmake/util/gcc_test.sh

12 lines
348 B
Bash
Raw Normal View History

2012-09-24 16:11:06 +04:00
#!/bin/bash
rm -rf build-gcc
mkdir build-gcc && cd build-gcc && cmake .. && make
[ 0 != $? ] && echo "make failed ;-(" && exit 1
mkdir -p run/locale/ru/LC_MESSAGES
mkdir -p run/locale/it/LC_MESSAGES
cp po/ru/gettextex1.gmo run/locale/ru/LC_MESSAGES/gettextex1.mo
cp po/it/gettextex1.gmo run/locale/it/LC_MESSAGES/gettextex1.mo
cd run
./gettextex1