File indexing completed on 2024-04-21 15:58:22

0001 #!bin/sh
0002 # invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources
0003 # the results are stored in a pseudo .cpp file to be picked up by xgettext.
0004 $EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
0005 # if your application contains tips-of-the-day, call preparetips as well.
0006 cd kmymoney/ && $PREPARETIPS > tips.cpp
0007 cd ..
0008 # call xgettext on all source files. If your sources have other filename
0009 # extensions besides .cpp, and .h, just add them in the find call.
0010 $XGETTEXT `find . -name \*.cpp -o -name \*.h | grep -v '/tests/'` -o $podir/kmymoney.pot
0011 
0012 # Remove these two generated files again
0013 rm kmymoney/tips.cpp rc.cpp