view po/regen_potfiles.sh @ 1556:3840882253fe

added remote interface for exporting additional info (sidecars, destination) to external commands see the symlink command for an example http://sourceforge.net/tracker/?func=detail&aid=2488845&group_id=222125&atid=1054680
author nadvornik
date Mon, 20 Apr 2009 21:34:16 +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.$$