* doc/gdb.texinfo (appendix "Installing GDB"): changes in configure.
[deliverable/binutils-gdb.git] / .Sanitize
CommitLineData
a93b3c77
RP
1# Sanitize.in for devo.
2# $Id$
3#
4
5# Each directory to survive it's way into a release will need a file
6# like this one called "./.Sanitize". All keyword lines must exist,
7# and must exist in the order specified by this file. Each directory
8# in the tree will be processed, top down, in the following order.
9
10# Hash started lines like this one are comments and will be deleted
11# before anything else is done. Blank lines will also be squashed
12# out.
13
14# The lines between the "Do-first:" line and the "Things-to-keep:"
15# line are executed as a /bin/sh shell script before anything else is
16# done in this
17
18Do-first:
19
20echo Sanitizing `pwd`...
21
22# All files listed between the "Things-to-keep:" line and the
23# "Files-to-sed:" 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
28Things-to-keep:
29
a93b3c77 30Makefile.in
965a9f14 31README
a93b3c77 32README.configure
2f0559cc 33bison
d5eb68fa 34bfd
ebec4684 35binutils
a93b3c77 36config
66f30075 37config.sub
a93b3c77
RP
38configure
39configure.in
cdabe523 40cvs
5781b1ba 41diff
cdabe523 42emacs
a93b3c77 43gas
ebec4684
RP
44gcc
45gdb
f3d3d2cd 46gdbm
a93b3c77 47gnulib
5781b1ba 48grep
a93b3c77 49include
ebec4684 50ld
a93b3c77 51libiberty
cdabe523
RP
52make
53prms
3c8735af 54rcs
a93b3c77 55readline
d239963b 56texinfo
a93b3c77
RP
57
58Do-last:
59
eebff21c
JG
60echo Looking for signs of \"v9\"...
61
62# Don't try to clean directories here, as the 'mv' command will fail.
63# Also, grep fails on NFS mounted directories.
64if ( echo $* | grep keep\-v9 > /dev/null ) ; then
65 for i in * ; do
66 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
67 echo Keeping v9 stuff in $i
68 fi
69 done
70else
71 for i in * ; do
72 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
73 echo Cleaning the \"v9\" out of $i...
e00efef1 74 cp $i new
eebff21c
JG
75 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
76 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
77 mv $i .Recover
78 fi
79 mv new $i
eebff21c
JG
80 fi
81 done
82fi
83
a93b3c77
RP
84echo Done in `pwd`.
85
86#
87#
88# $Log$
e00efef1
RP
89# Revision 1.18 1991/10/10 01:08:04 rich
90# copy the old file to the new before cleaning it. This should
91# propogate mode bits like execute.
92#
93# Revision 1.17 1991/10/02 13:06:16 rich
9ae3312e
RP
94# No longer needs to propogate configure and config.sub.
95#
96# Revision 1.16 1991/09/13 03:59:44 gnu
71aeb641
JG
97# Third time's a charm.
98#
99# Revision 1.15 1991/09/13 03:20:18 gnu
2517ee06
JG
100# One more try at top-level sanity on config.sub
101#
102# Revision 1.14 1991/09/13 03:11:27 gnu
eebff21c
JG
103# Clean out "v9" stuff from here, and propagate configure and config.sub
104# to all lower directories after sanity sets in.
105#
106# Revision 1.13 1991/09/12 00:33:59 rich
f3d3d2cd
RP
107# add gdbm.
108#
109# Revision 1.12 1991/09/02 22:19:49 rich
cdabe523
RP
110# Updated list of Sanitizable directories.
111#
112# Revision 1.11 1991/09/02 01:12:42 rich
385339e6
RP
113# dump the obsolete INSTALL.
114#
115# Revision 1.10 1991/08/25 23:40:20 rich
3c8735af
RP
116# rcs enters the soup.
117#
118# Revision 1.9 1991/08/25 21:48:37 rich
5781b1ba
RP
119# Adding diff to the fray.
120#
121# Revision 1.8 1991/08/23 07:15:55 gnu
965a9f14
JG
122# Make README stick...
123#
124# Revision 1.7 1991/08/22 07:30:50 gnu
66f30075
JG
125# New config.sub.
126#
127# Revision 1.6 1991/07/31 05:15:37 gnu
d239963b
JG
128# Add texinfo
129#
130# Revision 1.5 1991/07/25 16:11:27 tiemann
a578524e
MT
131# Don't eliminate libg++. Jimmy Hoffa disappeared before libg++ was
132# even conceived.
133#
134# Revision 1.4 1991/07/24 22:25:50 steve
2f0559cc
SC
135# *** empty log message ***
136#
137# Revision 1.3 1991/05/23 22:21:19 rich
ebec4684
RP
138# added bfd, binutils, ld, gdb, gcc.
139#
140# Revision 1.2 1991/05/23 21:15:10 rich
d5eb68fa
RP
141# Added bfd.
142#
143# Revision 1.1 1991/05/23 17:32:34 rich
a93b3c77
RP
144# Initial revision
145#
146# Revision 1.1 1991/05/23 17:18:12 rich
147# Initial revision
148#
149#
150#
151
152# End of file.
This page took 0.036054 seconds and 4 git commands to generate.