* lib/sim-defs.exp (sim_version): Simplify.
[deliverable/binutils-gdb.git] / gprof / .Sanitize
index 71de65e1413fc408c54f4d70d660fe479accf2f9..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.
 
 Things-to-keep:
 
+.gdbinit
 ChangeLog
+Makefile.am
 Makefile.in
-arcs.c
+NOTES
+TEST
+TODO
+acconfig.h
+aclocal.m4
+alpha.c
+basic_blocks.c
+basic_blocks.h
+bb_exit_func.c
+bbconv.pl
 bsd_callg_bl.m
-config
+call_graph.c
+call_graph.h
+cg_arcs.c
+cg_arcs.h
+cg_dfn.c
+cg_dfn.h
+cg_print.c
+cg_print.h
+configure
+configure.bat
 configure.in
-dfn.c
-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
+gmon_io.h
+gmon_out.h
 gprof.1
 gprof.c
 gprof.h
 gprof.texi
 hertz.c
+hertz.h
+hist.c
+hist.h
 i386.c
-i386.h
-lookup.c
-printgprof.c
-printlist.c
+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:
 
+.cvsignore
+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.024926 seconds and 4 git commands to generate.