1
diff -Nur kdesudo-1.1/admin/cvs.sh kdesudo-1.1.new/admin/cvs.sh
2
--- kdesudo-1.1/admin/cvs.sh 2007-05-25 11:24:53.000000000 +0200
3
+++ kdesudo-1.1.new/admin/cvs.sh 2007-06-01 02:23:51.000000000 +0200
5
if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
6
export EXTRACTRC PREPARETIPS
8
+kdepotpath=/usr/include/kde/kde.pot
10
for subdir in $dirs; do
11
test -z "$VERBOSE" || echo "Making messages in $subdir"
15
perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
17
- kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
18
- if ! test -f $kdepotpath; then
19
- kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
22
$MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" srcdir=. \
23
XGETTEXT="${XGETTEXT:-xgettext} --foreign-user -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 -kaliasLocale -x $kdepotpath" messages