view po/regen_potfiles.sh @ 1727:548fddf5070a

ignored multiple directories specified on commandline IMHO this was inconsistent - specifying one directory had completely different effect than specifying two or more directories. Moreover, it segfaulted. Now only one directory is allowed.
author nadvornik
date Thu, 01 Oct 2009 18:40:34 +0000
parents 4581d3f03d22
children
line wrap: on
line source

#!/bin/sh

#generate a patch to update POTFILES.in
#Use like this: ./regen_potfiles.sh | patch -p0
(cd .. ; grep -l 'N\?_[[:space:]]*(.*)' ./src/*.c) > POTFILES.in.$$
diff -u POTFILES.in POTFILES.in.$$
rm -f POTFILES.in.$$