11 lines
261 B
Bash
11 lines
261 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
$EXTRACTRC `find -name '*.ui' -o -name '*.rc'` >> rc.cpp
|
||
|
$XGETTEXT rc.cpp -o $podir/kdeconnect-settings.pot
|
||
|
rm -f rc.cpp
|
||
|
|
||
|
#.cpp (-j passed to merge into existing file)
|
||
|
$XGETTEXT `find . -name '*.cpp'` -j -o $podir/kdeconnect-settings.pot
|
||
|
|
||
|
|