add more spacing
[personal-kdebase.git] / runtime / phonon / platform_kde / Messages.sh
blob76250b6f9528e54dc9d6fc0f64738384364f77be
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/phonon_kde.pot
16 rm -f dirs
17 rm -f files