diff options
Diffstat (limited to 'gprof/.Sanitize')
-rw-r--r-- | gprof/.Sanitize | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gprof/.Sanitize b/gprof/.Sanitize index 14f72bd..8dd15e5 100644 --- a/gprof/.Sanitize +++ b/gprof/.Sanitize @@ -97,4 +97,27 @@ make_solaris_order_map Do-last: +# 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 +find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in + +if [ -n "${safe}" -a ! -f po/.Recover/gprof.pot ]; then + if [ -n "${verbose}" ]; then + echo Caching po/gprof.pot in .Recover... + fi + mv po/gprof.pot po/.Recover +fi +xgettext `cat po/POTFILES.in` -o po/gprof.pot + + # eof |