view po/regen_potfiles.sh @ 1747:10f9803aca45

Workaround intltoolize 0.40.6 bug related to LINGUAS, see bug 2817602.
author zas_
date Sat, 09 Jan 2010 11:44:27 +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.$$