diff options
author | Nick Clifton <nickc@redhat.com> | 1998-04-28 22:00:55 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1998-04-28 22:00:55 +0000 |
commit | 8a660fab29fcf0d4424adfc9652486d186266db9 (patch) | |
tree | e4cce2acab47968a5c37008eef11a660ab0b750a /opcodes/.Sanitize | |
parent | 9f28ec1a550ce41f54687481218588494705e8c1 (diff) | |
download | gdb-8a660fab29fcf0d4424adfc9652486d186266db9.zip gdb-8a660fab29fcf0d4424adfc9652486d186266db9.tar.gz gdb-8a660fab29fcf0d4424adfc9652486d186266db9.tar.bz2 |
Regernate aclocal.m4 and configure using latest tools (I hope!)
Diffstat (limited to 'opcodes/.Sanitize')
-rw-r--r-- | opcodes/.Sanitize | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/opcodes/.Sanitize b/opcodes/.Sanitize index 99b8f4f..3d9cebf 100644 --- a/opcodes/.Sanitize +++ b/opcodes/.Sanitize @@ -479,4 +479,29 @@ for i in * ; do fi done +# This must come after all other sanitizations. Re-sanitize the .pot +# file. +if [ -n "${verbose}" ]; then + echo Re-computing files for gettext ... +fi + +if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then + if [ -n "${verbose}" ]; then + echo Caching po/POTFILES.in in .Recover... + fi + mv po/POTFILES.in po/.Recover +fi + +'\ls -1 *.[ch] *.in' | sed -e 's,^\./,,' > po/POTFILES.in + +if [ -n "${safe}" -a ! -f po/.Recover/opcodes.pot ]; then + if [ -n "${verbose}" ]; then + echo Caching po/opcodes.pot in .Recover... + fi + mv po/opcodes.pot po/.Recover +fi + +# If this fails, Sanitization must fail. +xgettext -k_ -kN_ -C `cat po/POTFILES.in` -o po/opcodes.pot || exit 1 + # End of file. |