* config.sub (case $basic_machine): Add tic80 entries.
[deliverable/binutils-gdb.git] / .Sanitize
index 562fb1741280842595b2b2623cebbc6ec1b0b8f1..cc5d7adabe3a639299bfe903fb877a3bcd156a4e 100644 (file)
--- a/.Sanitize
+++ b/.Sanitize
 Do-first:
 
 keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf
-       apache
+       apache bash 
        bfd binutils byacc cvs deja-gnu dejagnu diff dosrel dvips emacs emacs19
-       examples expect fileutils flex
-       gas gcc gdb gdbm gdbtest glob gprof grep grez groff guile
+       examples expect fileutils findutils flex
+       gas gawk gcc gdb gdbm gdbtest glob gprof grep grez groff guile gzip
        include inet install.sh ispell
-       ld libg++ libgcc libgloss libiberty libio librx libstdc++
-       m4 make mmalloc move-if-change newlib opcodes
+       ld less libg++ libgcc libgloss libiberty libio librx libstdc++
+       m4 make mmalloc move-if-change newlib ncurses opcodes
        pagas patch perl prms
-       rcs readline sed send-pr shellutils sim textutils
+       rcs readline sed send-pr shellutils sim tar textutils time
        texinfo tgas utils uudecode wdiff xiberty
        configure.bat makeall.bat setup.com make-all.com winsup
-       mpw-README mpw-configure mpw-config.in mpw-build.in"
+       mpw-README mpw-configure mpw-config.in mpw-build.in mpw-install"
 
 lose_these_too="${lose_these_too} testsuite"
 
@@ -241,7 +241,7 @@ if [ -n "${verbose}" ] ; then
        echo Processing \"d10v\"...
 fi
 
-d10v_files="ChangeLog config.sub"
+d10v_files="ChangeLog config.sub configure.in"
 
 if ( echo $* | grep keep\-d10v > /dev/null ) ; then
        for i in $d10v_files ; do
@@ -270,6 +270,39 @@ else
        done
 fi
 
+if [ -n "${verbose}" ] ; then
+       echo Processing \"m32r\"...
+fi
+
+m32r_files="config.sub configure.in ChangeLog"
+
+if ( echo $* | grep keep\-m32r > /dev/null ) ; then
+       for i in $m32r_files ; do
+               if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping m32r stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-m32r $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"m32r\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-m32r/,/end-\sanitize\-m32r/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
+
 rce_files="config.sub"
 
 if ( echo $* | grep keep\-rce > /dev/null ) ; then
@@ -299,6 +332,64 @@ else
        done
 fi
 
+v850_files="ChangeLog config.sub configure.in"
+
+if ( echo $* | grep keep\-v850 > /dev/null ) ; then
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping v850 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"v850\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/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
+
+tic80_files="ChangeLog config.sub configure.in"
+
+if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
+       for i in $tic80_files ; do
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping tic80 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in * ; do
+               if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"tic80\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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
+
 if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
        echo Catering to RMS by removing traces of \"gdbtk\"...
        if [ -n "${verbose}" ] ; then
This page took 0.029927 seconds and 4 git commands to generate.