annotate po/update-potfiles.sh @ 3109:5a11abf0075c

scrobbler: add support for custom audioscrobbler servers. (closes #23)
author William Pitcock <nenolod@atheme.org>
date Fri, 01 May 2009 12:28:48 -0500
parents be52c86750d7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1525
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
1 #!/bin/bash
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
2 rm POTFILES*
2091
612d25be0fbd added notice to POTFILES.in about update-potfiles.sh
mf0102 <0102@gmx.at>
parents: 1525
diff changeset
3 echo "# Please don't update this file manually - use ./update-potfiles.sh instead!" > POTFILES.in
1525
bee9eaedefa5 - made the MP3 FileWriter output plugin less braindead
mf0102 <0102@gmx.at>
parents:
diff changeset
4 cd ..
2597
be52c86750d7 Only scan "*.{c,cxx,cc}" instead of "*.c*" when updating POTFILES.in.
Matti Hamalainen <ccr@tnsp.org>
parents: 2091
diff changeset
5 find src/ \( -name "*.c" -o -name "*.cxx" -o -name "*.cc" -o -name "*.glade" \) -exec grep -lE "translatable|_\(" \{\} \; | sort | uniq >> po/POTFILES.in