diff options
author | Tom Tromey <tromey@redhat.com> | 1997-04-21 19:30:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 1997-04-21 19:30:47 +0000 |
commit | eebe454c509f8f3e442aef0319fecd0b568f8eef (patch) | |
tree | 321e8280570854e5cc5563d70975afec8aa841ec /.Sanitize | |
parent | 3278ed0c9e6e563bc2ede8765a414c790f9a4ca1 (diff) | |
download | gdb-eebe454c509f8f3e442aef0319fecd0b568f8eef.zip gdb-eebe454c509f8f3e442aef0319fecd0b568f8eef.tar.gz gdb-eebe454c509f8f3e442aef0319fecd0b568f8eef.tar.bz2 |
* configure.in (host_libs): Added libide.
Skip libide, vmake if no X. Also skip these everywhere that sn is
skipped.
* Makefile.in (ALL_MODULES): Added all-vmake, all-libide.
(CROSS_CHECK_MODULES): Added check-vmake, check-libide.
(INSTALL_MODULES): Added install-vmake, install-libide.
(CLEAN_MODULES): Added clean-vmake, clean-libide.
(all-vmake, all-libide): New targets.
Diffstat (limited to '.Sanitize')
-rw-r--r-- | .Sanitize | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -105,6 +105,15 @@ else keep_these_too="${keep_these_too} ${inet_files}" fi +ide_files="itcl libide vmake" + +if (echo $* | grep keep\-ide > /dev/null); then + lose_these_too="${lose_these_too} ${ide_files}" + test -n "$verbose" && echo Keeping ${ide_files} +else + keep_these_too="${keep_these_too} ${ide_files}" +fi + # This top-level directory is special. We often check out only subsets # of this directory, and complaining about directories or files we didn't @@ -404,6 +413,33 @@ else done fi +if ( echo $* | grep keep\-ide > /dev/null ) ; then + for i in * ; do + if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping ide stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-ide $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"ide\" from $i... + fi + cp $i new + sed '/start\-sanitize\-ide/,/end-\sanitize\-ide/d' < $i > new + if [ -n "${safe}" -a ! -f .Recover/$i ] ; then + if [ -n "${verbose}" ] ; then + echo Caching $i in .Recover... + fi + mv $i .Recover + fi + mv new $i + fi + done +fi + # Do this check LAST! for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then |