]>
Commit | Line | Data |
---|---|---|
e33bfde7 | 1 | # .Sanitize for devo/gprof |
92f73b42 | 2 | |
e33bfde7 | 3 | # Each directory to survive its way into a release will need a file |
92f73b42 SEF |
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 | |
e33bfde7 | 14 | # done in this directory. |
92f73b42 SEF |
15 | |
16 | Do-first: | |
17 | ||
e33bfde7 | 18 | |
92f73b42 | 19 | # All files listed between the "Things-to-keep:" line and the |
e33bfde7 | 20 | # "Do-last:" line will be kept. All other files will be removed. |
92f73b42 SEF |
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: | |
87756e15 | 26 | |
f86ee9d6 | 27 | .gdbinit |
5d32c952 | 28 | ChangeLog |
2f1fec47 | 29 | Makefile.am |
92f73b42 | 30 | Makefile.in |
f86ee9d6 KR |
31 | NOTES |
32 | TEST | |
33 | TODO | |
274e44ae | 34 | acconfig.h |
2f1fec47 | 35 | aclocal.m4 |
f86ee9d6 | 36 | alpha.c |
f86ee9d6 KR |
37 | basic_blocks.c |
38 | basic_blocks.h | |
e33bfde7 | 39 | bb_exit_func.c |
249da916 | 40 | bbconv.pl |
3d3e494e | 41 | bsd_callg_bl.m |
f86ee9d6 KR |
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 | |
7858d8dc | 50 | configure |
bc63a3a0 | 51 | configure.bat |
92f73b42 | 52 | configure.in |
43870aec ILT |
53 | corefile.c |
54 | corefile.h | |
3d3e494e PB |
55 | flat_bl.m |
56 | fsf_callg_bl.m | |
274e44ae | 57 | gconfig.in |
3d3e494e | 58 | gen-c-prog.awk |
92f73b42 | 59 | gmon.h |
f86ee9d6 KR |
60 | gmon_io.c |
61 | gmon_io.h | |
62 | gmon_out.h | |
92f73b42 SEF |
63 | gprof.1 |
64 | gprof.c | |
92f73b42 | 65 | gprof.h |
5afba784 | 66 | gprof.texi |
92f73b42 | 67 | hertz.c |
f86ee9d6 KR |
68 | hertz.h |
69 | hist.c | |
70 | hist.h | |
92f73b42 | 71 | i386.c |
e33bfde7 | 72 | po |
f86ee9d6 KR |
73 | search_list.c |
74 | search_list.h | |
75 | source.c | |
76 | source.h | |
92f73b42 | 77 | sparc.c |
274e44ae | 78 | stamp-h.in |
f86ee9d6 KR |
79 | sym_ids.c |
80 | sym_ids.h | |
81 | symtab.c | |
82 | symtab.h | |
92f73b42 | 83 | tahoe.c |
74a89115 KR |
84 | utils.c |
85 | utils.h | |
92f73b42 | 86 | vax.c |
92f73b42 | 87 | |
87756e15 RP |
88 | Things-to-lose: |
89 | ||
f86ee9d6 | 90 | .cvsignore |
71128bd7 JL |
91 | make_hp_order_obj |
92 | make_solaris_order_map | |
f86ee9d6 | 93 | |
e33bfde7 ILT |
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 | ||
92f73b42 SEF |
98 | Do-last: |
99 | ||
3d96e9b4 TT |
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 | |
d6f3da9b | 120 | # If this fails, Sanitization must fail. |
ee66b572 | 121 | xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/gprof.pot || exit 1 |
3d96e9b4 | 122 | |
e33bfde7 | 123 | # eof |