~ubuntu-branches/ubuntu/saucy/kde-i18n-fy/saucy

« back to all changes in this revision

Viewing changes to admin/cvs.sh

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-11-15 14:14:44 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071115141444-4457y26wcs03bepp
Tags: 4:3.5.8-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
   fi
317
317
fi
318
318
if test -z "$VERSION" || test "$VERSION" = "@VERSION@"; then
319
 
     VERSION="\"3.5.7\""
 
319
     VERSION="\"3.5.8\""
320
320
fi
321
321
if test -z "$modulename" || test "$modulename" = "@MODULENAME@"; then
322
322
   modulename=`pwd`; 
537
537
if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
538
538
export EXTRACTRC PREPARETIPS
539
539
 
540
 
kdepotpath=`pwd`/debian/patches/common/kde.pot
541
 
 
542
540
for subdir in $dirs; do
543
541
  test -z "$VERBOSE" || echo "Making messages in $subdir"
544
542
  (cd $subdir
556
554
   fi
557
555
   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
558
556
 
559
 
#   kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
560
 
#   if ! test -f $kdepotpath; then
561
 
#       kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
562
 
#   fi
 
557
   kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
 
558
   if ! test -f $kdepotpath; then
 
559
        kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
 
560
   fi
563
561
 
564
562
   $MAKE -s -f _transMakefile podir=$podir EXTRACTRC="$EXTRACTRC" PREPARETIPS="$PREPARETIPS" srcdir=. \
565
563
        XGETTEXT="${XGETTEXT:-xgettext} --foreign-user -C -ci18n -ki18n -ktr2i18n -kI18N_NOOP -kI18N_NOOP2 -kaliasLocale -x $kdepotpath" messages