view po/regen_potfiles.sh @ 1289:deb0876c29d2

force at least one idle call before writting metadata (without this the exit_program_write_metadata_cb could be called before the exit_program function finished)
author nadvornik
date Sat, 07 Feb 2009 21:03:11 +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.$$