* corefile.c: Rename from core.c.
[platform/upstream/binutils.git] / gprof / .Sanitize
1 # .Sanitize for devo/gprof
2
3 # Each directory to survive its way into a release will need a file
4 # like this one called "./.Sanitize".  All keyword lines must exist,
5 # and must exist in the order specified by this file.  Each directory
6 # in the tree will be processed, top down, in the following order.
7
8 # Hash started lines like this one are comments and will be deleted
9 # before anything else is done.  Blank lines will also be squashed
10 # out.
11
12 # The lines between the "Do-first:" line and the "Things-to-keep:"
13 # line are executed as a /bin/sh shell script before anything else is
14 # done in this directory.
15
16 Do-first:
17
18
19 # All files listed between the "Things-to-keep:" line and the
20 # "Do-last:" line will be kept.  All other files will be removed.
21 # Directories listed in this section will have their own Sanitize
22 # called.  Directories not listed will be removed in their entirety
23 # with rm -rf.
24
25 Things-to-keep:
26
27 .gdbinit
28 ChangeLog
29 Makefile.am
30 Makefile.in
31 NOTES
32 TEST
33 TODO
34 acconfig.h
35 aclocal.m4
36 alpha.c
37 basic_blocks.c
38 basic_blocks.h
39 bb_exit_func.c
40 bbconv.pl
41 bsd_callg_bl.m
42 call_graph.c
43 call_graph.h
44 cg_arcs.c
45 cg_arcs.h
46 cg_dfn.c
47 cg_dfn.h
48 cg_print.c
49 cg_print.h
50 configure
51 configure.bat
52 configure.in
53 corefile.c
54 corefile.h
55 flat_bl.m
56 fsf_callg_bl.m
57 gconfig.in
58 gen-c-prog.awk
59 gmon.h
60 gmon_io.c
61 gmon_io.h
62 gmon_out.h
63 gprof.1
64 gprof.c
65 gprof.h
66 gprof.texi
67 hertz.c
68 hertz.h
69 hist.c
70 hist.h
71 i386.c
72 po
73 search_list.c
74 search_list.h
75 source.c
76 source.h
77 sparc.c
78 stamp-h.in
79 sym_ids.c
80 sym_ids.h
81 symtab.c
82 symtab.h
83 tahoe.c
84 utils.c
85 utils.h
86 vax.c
87
88 Things-to-lose:
89
90 .cvsignore
91 make_hp_order_obj
92 make_solaris_order_map
93
94 # The lines between the "Do-last:" line and the end of the file
95 # are executed as a /bin/sh shell script after everything else is
96 # done.
97
98 Do-last:
99
100 # This must come after all other sanitizations.  Re-sanitize the .pot
101 # file.
102 if [ -n "${verbose}" ]; then
103    echo Re-computing files for gettext ...
104 fi
105
106 if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then
107    if [ -n "${verbose}" ]; then
108       echo Caching po/POTFILES.in in .Recover...
109    fi
110    mv po/POTFILES.in po/.Recover
111 fi
112 find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
113
114 if [ -n "${safe}" -a ! -f po/.Recover/gprof.pot ]; then
115    if [ -n "${verbose}" ]; then
116       echo Caching po/gprof.pot in .Recover...
117    fi
118    mv po/gprof.pot po/.Recover
119 fi
120 # If this fails, Sanitization must fail.
121 xgettext `cat po/POTFILES.in` -o po/gprof.pot || exit 1
122
123
124 # eof