2 find .
-type d | fgrep
-v '.svn' |
sed -e 's,$,/,' > dirs
3 msh
=`find . -name Messages.sh`
6 if test "$dir" != "."; then
7 egrep -v "^$dir" dirs > dirs.new
&& mv dirs.new
dirs
10 fgrep
-v "/tests" dirs > dirs.new
&& mv dirs.new
dirs
11 # Include ./kdeui/colors/ explicitly to extract color dialog strings. It is
12 # otherwise excluded, since it has a local Messages.sh to extract color names.
13 echo "./kdeui/colors/" >> dirs
15 find $dirs -maxdepth 1 -name "*.cpp" -print > files
16 find $dirs -maxdepth 1 -name "*.cc" -print >> files
17 find $dirs -maxdepth 1 -name "*.h" -print >> files
18 $EXTRACTRC `find $dirs -maxdepth 1 \( -name \*.rc -o -name \*.ui -o -name \*.ui3 -o -name \*.ui4 -o -name \*.kcfg \) ` >> rc.cpp ||
exit 11
19 $XGETTEXT -ktranslate:1,1t
-ktranslate:1c
,2,2t
--files-from=files
-o $podir/kdelibs4.pot