view po/regen_potfiles.sh @ 2900:b0b3e1948746

Add export-jpg to POTFILES.in
author Andreas Rönnquist <andreas@ronnquist.net>
date Thu, 18 Oct 2018 23:20:41 +0200
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