2011-11-06 17:09:08 +01:00
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
2012-01-14 18:23:52 +01:00
|
|
|
|
ARGUMENTS=""
|
|
|
|
|
if [ "$1" == "-no-obsolete" ]; then
|
|
|
|
|
ARGUMENTS="-no-obsolete"
|
|
|
|
|
fi
|
2011-11-06 17:09:08 +01:00
|
|
|
|
## circular inclusions workaround - we comment that buggy line
|
2012-02-23 22:18:02 +01:00
|
|
|
|
sed -i 's/include(3rdparty/##temp/g' ../src/lib/lib.pro
|
2011-11-06 17:09:08 +01:00
|
|
|
|
|
2013-01-31 14:19:13 +01:00
|
|
|
|
#lupdate $ARGUMENTS ../src/lib/lib.pro
|
2013-02-23 12:19:12 +01:00
|
|
|
|
cd ../src/lib/
|
|
|
|
|
lupdate $ARGUMENTS lib.pro -ts ../../translations/empty.ts
|
2011-11-06 17:09:08 +01:00
|
|
|
|
|
2013-02-23 12:19:12 +01:00
|
|
|
|
cd -
|
2011-11-06 17:09:08 +01:00
|
|
|
|
## uncomment it now
|
2012-02-23 22:18:02 +01:00
|
|
|
|
sed -i 's/##temp/include(3rdparty/g' ../src/lib/lib.pro
|
2011-11-06 17:09:08 +01:00
|
|
|
|
|
2013-01-21 22:38:31 +01:00
|
|
|
|
exit 0
|