* config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
[deliverable/binutils-gdb.git] / gdb / testsuite / .Sanitize
1 # .Sanitize for deja-gnu.
2
3 # Each directory to survive it's 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 if ( echo $* | grep keep\-chill > /dev/null ) ; then
19 keep_these_too="gdb.t30 gdb.t31"
20 fi
21
22 # All files listed between the "Things-to-keep:" line and the
23 # "Do-last:" line will be kept. All other files will be removed.
24 # Directories listed in this section will have their own Sanitize
25 # called. Directories not listed will be removed in their entirety
26 # with rm -rf.
27
28 Things-to-keep:
29
30 # The lines between the "Do-last:" line and the end of the file
31
32 .gdbinit
33 ChangeLog
34 Makefile.in
35 config
36 configure.in
37 gdb.t00
38 gdb.t01
39 gdb.t02
40 gdb.t03
41 gdb.t04
42 gdb.t05
43 gdb.t06
44 gdb.t07
45 gdb.t08
46 gdb.t09
47 gdb.t10
48 gdb.t11
49 gdb.t12
50 gdb.t13
51 gdb.t15
52 gdb.t16
53 gdb.t17
54 gdb.t20
55 gdb.t21
56 gdb.t22
57 gdb.t23
58 lib
59
60 # are executed as a /bin/sh shell script after everything else is
61 # done.
62
63 Do-last:
64
65 echo Thawing away the \"chill\"...
66
67 # Don't try to clean directories here, as the 'mv' command will fail.
68 # Also, grep fails on NFS mounted directories.
69 if ( echo $* | grep keep\-chill > /dev/null ) ; then
70 for i in * ; do
71 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
72 echo Keeping chill stuff in $i
73 fi
74 done
75 else
76 for i in * ; do
77 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
78 echo Thawing the \"chill\" out of $i...
79 cp $i new
80 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
81 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
82 echo Caching $i in .Recover...
83 mv $i .Recover
84 fi
85 mv new $i
86 fi
87 done
88 echo Thawing the \"chill\" out of configure.in...
89 cp configure.in new
90 sed -e '
91 s/gdb.t30//g
92 s/gdb.t31//g
93 ' < configure.in > new
94 if [ -n "${safe}" -a ! -f .Recover/configure.in ] ; then
95 echo Caching configure.in in .Recover...
96 mv configure.in .Recover
97 fi
98 mv new configure.in
99 echo Thawing the \"chill\" out of Makefile.in...
100 cp Makefile.in new
101 sed -e '
102 /CHILL=/d
103 /CHILLFLAGS=/d
104 s/gdb.t30//g
105 s/gdb.t31//g
106 ' < Makefile.in > new
107 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
108 echo Caching Makefile.in in .Recover...
109 mv Makefile.in .Recover
110 fi
111 mv new Makefile.in
112 fi
113
114 # eof
This page took 0.032495 seconds and 4 git commands to generate.