summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/keep/debian/patches/kubuntu_01_kdepot.diff
blob: 55238c41ad9f9d7a69e1f5fd06ef668a3a0d28eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -Nur keep-0.4.0/admin/cvs.sh keep-0.4.0.new/admin/cvs.sh
--- keep-0.4.0/admin/cvs.sh	2006-09-23 01:51:35.000000000 +0200
+++ keep-0.4.0.new/admin/cvs.sh	2006-12-05 16:29:23.000000000 +0100
@@ -537,6 +537,8 @@
 if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
 export EXTRACTRC PREPARETIPS
 
+kdepotpath=/usr/include/kde/kde.pot
+
 for subdir in $dirs; do
   test -z "$VERBOSE" || echo "Making messages in $subdir"
   (cd $subdir
@@ -554,7 +556,6 @@
    fi
    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
 
-   kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
    if ! test -f $kdepotpath; then
 	kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
    fi