binutils-gdb/gprof/.Sanitize

124 lines
2.4 KiB
Plaintext
Raw Normal View History

1998-04-23 00:18:07 +08:00
# .Sanitize for devo/gprof
1992-04-07 18:04:26 +08:00
1998-04-23 00:18:07 +08:00
# Each directory to survive its way into a release will need a file
1992-04-07 18:04:26 +08:00
# 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.
# Hash started lines like this one are comments and will be deleted
# before anything else is done. Blank lines will also be squashed
# out.
# 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
1998-04-23 00:18:07 +08:00
# done in this directory.
1992-04-07 18:04:26 +08:00
Do-first:
1998-04-23 00:18:07 +08:00
1992-04-07 18:04:26 +08:00
# All files listed between the "Things-to-keep:" line and the
1998-04-23 00:18:07 +08:00
# "Do-last:" line will be kept. All other files will be removed.
1992-04-07 18:04:26 +08:00
# 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:
1993-05-27 14:44:29 +08:00
1995-02-08 06:59:13 +08:00
.gdbinit
ChangeLog
Makefile.am
1992-04-07 18:04:26 +08:00
Makefile.in
1995-02-08 06:59:13 +08:00
NOTES
TEST
TODO
acconfig.h
aclocal.m4
1995-02-08 06:59:13 +08:00
alpha.c
basic_blocks.c
basic_blocks.h
1998-04-23 00:18:07 +08:00
bb_exit_func.c
bbconv.pl
bsd_callg_bl.m
1995-02-08 06:59:13 +08:00
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
1994-06-23 01:39:31 +08:00
configure.bat
1992-04-07 18:04:26 +08:00
configure.in
corefile.c
corefile.h
flat_bl.m
fsf_callg_bl.m
gconfig.in
gen-c-prog.awk
1992-04-07 18:04:26 +08:00
gmon.h
1995-02-08 06:59:13 +08:00
gmon_io.c
gmon_io.h
gmon_out.h
1992-04-07 18:04:26 +08:00
gprof.1
gprof.c
gprof.h
1993-02-13 19:01:41 +08:00
gprof.texi
1992-04-07 18:04:26 +08:00
hertz.c
1995-02-08 06:59:13 +08:00
hertz.h
hist.c
hist.h
1992-04-07 18:04:26 +08:00
i386.c
1998-04-23 00:18:07 +08:00
po
1995-02-08 06:59:13 +08:00
search_list.c
search_list.h
source.c
source.h
1992-04-07 18:04:26 +08:00
sparc.c
stamp-h.in
1995-02-08 06:59:13 +08:00
sym_ids.c
sym_ids.h
symtab.c
symtab.h
1992-04-07 18:04:26 +08:00
tahoe.c
1995-02-09 06:55:11 +08:00
utils.c
utils.h
1992-04-07 18:04:26 +08:00
vax.c
1993-05-27 14:44:29 +08:00
Things-to-lose:
1995-02-08 06:59:13 +08:00
.cvsignore
make_hp_order_obj
make_solaris_order_map
1995-02-08 06:59:13 +08:00
1998-04-23 00:18:07 +08:00
# 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.
1992-04-07 18:04:26 +08:00
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
1998-04-23 13:17:30 +08:00
# If this fails, Sanitization must fail.
1998-05-07 02:16:28 +08:00
xgettext -c -k_ -kN_ -f po/POTFILES.in -o po/gprof.pot || exit 1
1998-04-23 00:18:07 +08:00
# eof