mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 10:52:53 +00:00
16 lines
629 B
Bash
16 lines
629 B
Bash
#! /usr/bin/env bash
|
|
subdirs="debugger interfaces language outputview project shell sublime util vcs documentation"
|
|
rcfiles="`find $subdirs -name \*.rc`"
|
|
uifiles="`find $subdirs -name \*.ui`"
|
|
kcfgfiles="`find $subdirs -name \*.kcfg`"
|
|
if [[ "$rcfiles" != "" ]] ; then
|
|
$EXTRACTRC $rcfiles >> rc.cpp || exit 11
|
|
fi
|
|
if [[ "$uifiles" != "" ]] ; then
|
|
$EXTRACTRC $uifiles >> rc.cpp || exit 12
|
|
fi
|
|
if [[ "$kcfgfiles" != "" ]] ; then
|
|
$EXTRACTRC $kcfgfiles >> rc.cpp || exit 13
|
|
fi
|
|
$XGETTEXT -kaliasLocal `find $subdirs -name \*.cc -o -name \*.cpp -o -name \*.h | grep -v '/tests/'` rc.cpp -o $podir/kdevplatform.pot
|
|
rm -f rc.cpp
|