File indexing completed on 2024-05-05 17:07:10

0001 #! /bin/sh
0002 # Messages.sh files must have one instance of the line with:
0003 # 'potfilename=<potfile>.pot'
0004 # potfilename= must be at the start of the line and without spaces.
0005 # It must refer to one pot file only.
0006 # Release scripts rely on this.
0007 potfilename=calligra.pot
0008 
0009 source ../kundo2_aware_xgettext.sh
0010 
0011 LIST=`find . \( -name \*.ui -o -name \*.rc \) -type f -print | grep -v '/tests/' | grep -v -e '/\.'`
0012 $EXTRACTRC $LIST >> rc.cpp
0013 LIST=`find . \( -name \*.cpp -o -name \*.cc -o -name \*.h \) -type f -print | grep -v '/tests/' | grep -v -e '/\.'`
0014 kundo2_aware_xgettext "$potfilename" $LIST
0015 rm -f rc.cpp