File: Messages.sh

package info (click to toggle)
kde-spectacle 4%3A6.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,896 kB
  • sloc: cpp: 13,590; xml: 743; sh: 10; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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.
lst=`find . -name \*.rc -o -name \*.ui -o -name \*.kcfg`
if [ -n "$lst" ] ; then
    $EXTRACTRC $lst >> rc.cpp
fi

# If your framework contains tips-of-the-day, call preparetips as well.
if [ -f "data/tips" ] ; then
    ( cd data && $PREPARETIPS > ../tips.cpp )
fi

# Run xgettext to extract strings from all source files.
$XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/spectacle.pot