File indexing completed on 2024-04-21 07:43:55

0001 #!/bin/sh
0002 
0003 # Invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources.
0004 # The results are stored in a pseudo .cpp file to be picked up by xgettext.
0005 lst=`find . -name \*.rc -o -name \*.ui -o -name \*.kcfg`
0006 if [ -n "$lst" ] ; then
0007     $EXTRACTRC $lst >> rc.cpp
0008 fi
0009 
0010 # Extract strings from all source files.
0011 # If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation
0012 # system, use $EXTRACT_TR_STRINGS.
0013 $XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kservice6.pot