Replaced fixed size array for hi16 relocations with a linked list.
[deliverable/binutils-gdb.git] / gprof / .Sanitize
index 07dd1cefdca3efe43ac370edb08bdad29c09541e..e8c29599a1517952b6f8968f0b75ce69b8f8f7e4 100644 (file)
@@ -1,7 +1,6 @@
-# Sanitize.in for devo.
-#
+# .Sanitize for devo/gprof
 
-# Each directory to survive it's way into a release will need a file
+# Each directory to survive its way into a release will need a file
 # like this one called "./.Sanitize".  All keyword lines must exist,
 # and must exist in the order specified by this file.  Each directory
 # in the tree will be processed, top down, in the following order.
 
 # The lines between the "Do-first:" line and the "Things-to-keep:"
 # line are executed as a /bin/sh shell script before anything else is
-# done in this 
+# done in this directory.
 
 Do-first:
 
+
 # All files listed between the "Things-to-keep:" line and the
-# "Files-to-sed:" line will be kept.  All other files will be removed.
+# "Do-last:" line will be kept.  All other files will be removed.
 # Directories listed in this section will have their own Sanitize
 # called.  Directories not listed will be removed in their entirety
 # with rm -rf.
@@ -25,16 +25,19 @@ Do-first:
 Things-to-keep:
 
 .gdbinit
-bb_exit_func.c
 ChangeLog
+Makefile.am
 Makefile.in
 NOTES
 TEST
 TODO
+acconfig.h
+aclocal.m4
 alpha.c
-alpha.h
 basic_blocks.c
 basic_blocks.h
+bb_exit_func.c
+bbconv.pl
 bsd_callg_bl.m
 call_graph.c
 call_graph.h
@@ -47,12 +50,11 @@ cg_print.h
 configure
 configure.bat
 configure.in
-core.c
-core.h
-dummy.c
-dummy.h
+corefile.c
+corefile.h
 flat_bl.m
 fsf_callg_bl.m
+gconfig.in
 gen-c-prog.awk
 gmon.h
 gmon_io.c
@@ -67,25 +69,21 @@ hertz.h
 hist.c
 hist.h
 i386.c
-i386.h
-ns532.c
-ns532.h
+po
 search_list.c
 search_list.h
 source.c
 source.h
 sparc.c
-sparc.h
+stamp-h.in
 sym_ids.c
 sym_ids.h
 symtab.c
 symtab.h
 tahoe.c
-tahoe.h
 utils.c
 utils.h
 vax.c
-vax.h
 
 Things-to-lose:
 
@@ -93,6 +91,33 @@ Things-to-lose:
 make_hp_order_obj
 make_solaris_order_map
 
+# The lines between the "Do-last:" line and the end of the file
+# are executed as a /bin/sh shell script after everything else is
+# done.
+
 Do-last:
 
-# End of file.
+# 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
+# If this fails, Sanitization must fail.
+xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/gprof.pot || exit 1
+
+# eof
This page took 0.0323 seconds and 4 git commands to generate.