view po/regen_potfiles.sh @ 2865:cb5326e72117

Ref #631: Compilation script for all distributions https://github.com/BestImageViewer/geeqie/issues/631 Reference to all-distros script included in README. Full list of dependencies still not included.
author Colin Clark <colin.clark@cclark.uk>
date Sun, 18 Nov 2018 17:38:10 +0000
parents f451d676a829
children
line wrap: on
line source

#!/bin/sh

#generate a patch to update POTFILES.in
#Use like this: ./regen_potfiles.sh | patch -p0
TMP=POTFILES.in.$$
((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do
	(echo $f | sed 's#^../##')
done) | sort > $TMP
diff -u POTFILES.in $TMP
rm -f $TMP