File: Messages.sh

package info (click to toggle)
parley 4%3A4.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,464 kB
  • ctags: 2,865
  • sloc: cpp: 18,082; python: 4,201; ansic: 2,179; xml: 195; sh: 14; makefile: 7
file content (13 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh
# invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources
# the results are stored in a pseudo .cpp file to be picked up by xgettext.
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
# call preparetips as well.
(cd tipofday && $PREPARETIPS > ../tips.cpp)
# call xgettext on all source files. If your sources have other filename
# extensions besides .cc, .cpp, and .h, just add them in the find call.
$XGETTEXT `find . -name \*.cpp -o -name \*.h` -o $podir/parley.pot
$XGETTEXT -L python `find . -name \*.py` -o $podir/parley.pot -j
# remove the generated files
rm -f tips.cpp rc.cpp python_parley.pot