add more spacing
[personal-kdebase.git] / runtime / phonon / kcm / Messages.sh
blobf4a220da5abf19d9d21a9330000311ebc84bae0b
1 #! /usr/bin/env bash
2 find . -type d | fgrep -v '.svn' | sed -e 's,$,/,' > dirs
3 msh=`find . -name Messages.sh`
4 for dir in $msh; do
5 dir=`dirname $dir`
6 if test "$dir" != "."; then
7 egrep -v "^$dir" dirs > dirs.new && mv dirs.new dirs
8 fi
9 done
10 fgrep -v "/tests" dirs > dirs.new && mv dirs.new dirs
11 dirs=`cat dirs`
12 find $dirs -maxdepth 1 -name "*.cpp" -print > files
13 find $dirs -maxdepth 1 -name "*.cc" -print >> files
14 find $dirs -maxdepth 1 -name "*.h" -print >> files
15 $XGETTEXT --files-from=files -o $podir/kcm_phonon.pot
16 rm -f dirs
17 rm -f files