* config/i386/nm-linux.h: Enable prototypes that were #ifdef out.
[deliverable/binutils-gdb.git] / .Sanitize
index f7e27330bbc95a504a28a2c0ad7a91ca571924f0..e1afd2c4c15dbbda274e7c27e1042c76cfe6dade 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
@@ -53,7 +53,7 @@ keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf
        gas gawk gcc gdb gdbm gdbtest glob gprof grep grez groff guile gzip
        include inet install-sh ispell
        ld less libg++ libgcc libgloss libiberty libio librx libstdc++
-       m4 make mmalloc move-if-change newlib ncurses opcodes
+       m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes
        pagas patch perl prms
        rcs readline sed send-pr shellutils sim tar textutils time
        texinfo tgas utils uudecode wdiff xiberty
@@ -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
This page took 0.024666 seconds and 4 git commands to generate.