mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
.Sanitize now re-computes gettext-related files
This commit is contained in:
parent
1158ffaf2a
commit
3d96e9b4cf
@ -614,4 +614,27 @@ 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
|
||||
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
|
||||
xgettext `cat po/POTFILES.in` -o po/bfd.pot
|
||||
|
||||
# eof
|
||||
|
@ -122,4 +122,27 @@ Things-to-lose:
|
||||
|
||||
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/binutils.pot ]; then
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo Caching po/binutils.pot in .Recover...
|
||||
fi
|
||||
mv po/binutils.pot po/.Recover
|
||||
fi
|
||||
xgettext `cat po/POTFILES.in` -o po/binutils.pot
|
||||
|
||||
|
||||
# eof
|
||||
|
@ -440,4 +440,27 @@ 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
|
||||
find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
|
||||
|
||||
if [ -n "${safe}" -a ! -f po/.Recover/gas.pot ]; then
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo Caching po/gas.pot in .Recover...
|
||||
fi
|
||||
mv po/gas.pot po/.Recover
|
||||
fi
|
||||
xgettext `cat po/POTFILES.in` -o po/gas.pot
|
||||
|
||||
# eof
|
||||
|
@ -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
|
||||
|
22
ld/.Sanitize
22
ld/.Sanitize
@ -299,4 +299,26 @@ 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
|
||||
find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
|
||||
|
||||
if [ -n "${safe}" -a ! -f po/.Recover/ld.pot ]; then
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo Caching po/ld.pot in .Recover...
|
||||
fi
|
||||
mv po/ld.pot po/.Recover
|
||||
fi
|
||||
xgettext `cat po/POTFILES.in` -o po/ld.pot
|
||||
|
||||
# eof
|
||||
|
Loading…
Reference in New Issue
Block a user