* symtab.h (struct linetable_entry): Remove confusing comment.
[deliverable/binutils-gdb.git] / binutils / .Sanitize
1 # Sanitize.in for devo.
2 #
3
4 # Each directory to survive it's way into a release will need a file
5 # like this one called "./.Sanitize". All keyword lines must exist,
6 # and must exist in the order specified by this file. Each directory
7 # in the tree will be processed, top down, in the following order.
8
9 # Hash started lines like this one are comments and will be deleted
10 # before anything else is done. Blank lines will also be squashed
11 # out.
12
13 # The lines between the "Do-first:" line and the "Things-to-keep:"
14 # line are executed as a /bin/sh shell script before anything else is
15 # done in this
16
17 Do-first:
18
19
20 # All files listed between the "Things-to-keep:" line and the
21 # "Files-to-sed:" line will be kept. All other files will be removed.
22 # Directories listed in this section will have their own Sanitize
23 # called. Directories not listed will be removed in their entirety
24 # with rm -rf.
25
26 Things-to-keep:
27
28 ChangeLog
29 Makefile.in
30 NEWS
31 README
32 TODO
33 alloca.c
34 am29k-pinsn.c
35 ar.1
36 ar.c
37 arlex.l
38 arparse.y
39 arsup.c
40 arsup.h
41 binutils.texi
42 bucomm.c
43 bucomm.h
44 configure.bat
45 configure.in
46 config
47 copy.c
48 filemode.c
49 gmalloc.c
50 i960-pinsn.c
51 is-ranlib.c
52 is-strip.c
53 maybe-ranlib.c
54 maybe-strip.c
55 nm.1
56 nm.c
57 not-ranlib.c
58 not-strip.c
59 objdump.1
60 objdump.c
61 objdump.h
62 ranlib.1
63 ranlib.sh
64 sanity.sh
65 size.1
66 size.c
67 sparc-pinsn.c
68 strip.1
69 version.c
70
71 Do-last:
72
73 v9dirty="sparc-pinsn.c"
74
75 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
76 echo Keeping v9 in ${v9dirty}
77 else
78 for i in ${v9dirty} ; do
79 echo Sanitizing v9 in $i
80 rm -f new
81 sed '/^#ifndef[ ]NO_V9/,/^#endif/d' < $i > new
82 if grep -s -i v9 new ; then
83 echo ***** SANITIZING V9 IN $i FAILED *****\a\a
84 fi
85 if [ -n "${safe}" ] ; then
86 mv $i .Recover
87 else
88 rm $i
89 fi
90 mv new $i
91 done
92 fi
This page took 0.040049 seconds and 4 git commands to generate.