~ubuntu-branches/ubuntu/karmic/kid3/karmic

« back to all changes in this revision

Viewing changes to admin/cvs.sh

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2009-05-20 16:12:30 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: james.westby@ubuntu.com-20090520161230-qetp532r8ydujkz2
Tags: upstream-1.2
Import upstream version 1.2

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.6\""
 
319
     VERSION="\"3.5.9\""
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=/usr/include/kde/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