view po/update-potfiles.sh @ 4836:fb3386ba8498

Unbreak compile.
author William Pitcock <nenolod@atheme.org>
date Sun, 05 Apr 2009 15:24:15 -0500
parents e94e641bf664
children
line wrap: on
line source

#!/bin/bash
rm POTFILES*
echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in
cd ..
find src/ \( -name "*.c" -o -name "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in