evax-etir.c
evax-misc.c
evax.h
-filemode.c
format.c
freebsd.h
gen-aout.c
done
fi
-tx49_files="archures.c bfd-in2.h cpu-mips.c"
+tx49_files="archures.c bfd-in2.h cpu-mips.c elf32-mips.c"
if ( echo $* | grep keep\-tx49 > /dev/null ) ; then
for i in $tx49_files ; do
if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
done
fi
-vr5400_files="ChangeLog archures.c bfd-in2.h bfd-in.h cpu-mips.c"
+vr5400_files="ChangeLog archures.c bfd-in2.h bfd-in.h cpu-mips.c elf32-mips.c"
if ( echo $* | grep keep\-vr5400 > /dev/null ) ; then
for i in $vr5400_files ; do
if test ! -d $i && (grep sanitize-vr5400 $i > /dev/null) ; then
done
fi
-vr4320_files="ChangeLog archures.c bfd-in2.h cpu-mips.c"
+vr4320_files="ChangeLog archures.c bfd-in2.h cpu-mips.c elf32-mips.c"
if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then
for i in $vr4320_files ; do
if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
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
+find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
+
+if [ -n "${safe}" -a ! -f po/.Recover/bfd.pot ]; then
+ if [ -n "${verbose}" ]; then
+ echo Caching po/bfd.pot in .Recover...
+ fi
+ mv po/bfd.pot po/.Recover
+fi
+# If this fails, Sanitization must fail.
+xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/bfd.pot || exit 1
+
# eof