Powerpc and Pe support.
[deliverable/binutils-gdb.git] / include / coff / .Sanitize
1 # Sanitize.in for include/coff.
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
15
16 Do-first:
17
18
19 # All files listed between the "Things-to-keep:" line and the
20 # "Files-to-sed:" 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 ChangeLog
28 a29k.h
29 alpha.h
30 apollo.h
31 arm.h
32 ecoff.h
33 h8300.h
34 h8500.h
35 i386.h
36 i960.h
37 internal.h
38 m68k.h
39 m88k.h
40 mips.h
41 pe.h
42 rs6000.h
43 sh.h
44 sparc.h
45 sym.h
46 symconst.h
47 w65.h
48 we32k.h
49 z8k.h
50
51 Things-to-lose:
52
53
54 Do-last:
55
56 i960xl_files="ChangeLog i960.h"
57 if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
58 if [ -n "${verbose}" ] ; then
59 echo Keeping i960xl stuff in $i960xl_files.
60 fi
61 else
62 if [ -n "${verbose}" ]; then
63 echo -n Cleaning i960xl in `pwd`:
64 fi
65 for f in $i960xl_files ; do
66 if [ -n "${verbose}" ] ; then
67 echo -n " " $f
68 fi
69 sed '/start\-sanitize\-i960xl/,/end\-sanitize\-i960xl/d' < $f > new
70 if [ -n "${safe}" ] ; then
71 mv $f .Recover
72 fi
73 mv new $f
74 done
75 fi
76
77 # End of file.
This page took 0.038394 seconds and 4 git commands to generate.