view po/regen_potfiles.sh @ 1640:97ac3a58adae

do not install helper scripts into /usr/bin - install the helper scripts into pkglibdir, that is /usr/lib/geeqie - add the directory to $PATH on startup - the Exec line in desktop files does not have to contain full path fixes https://sourceforge.net/tracker/?func=detail&aid=2801121&group_id=222125&atid=1054680
author nadvornik
date Wed, 10 Jun 2009 20:26:47 +0000
parents 4581d3f03d22
children 351dd18c7db0
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.$$