X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=.Sanitize;h=2ca032582dd5d5d1a0a45a1965601859b68e1f21;hb=47d1c515b03b6ec4f1b3fd25dbceb6b680fca5a7;hp=ad4adaddcd4f5c53acc545cd26537d691dac5888;hpb=c20cda69e1cee077a39c7f8b7e4662e3b589ce42;p=deliverable%2Fbinutils-gdb.git diff --git a/.Sanitize b/.Sanitize index ad4adaddcd..2ca032582d 100644 --- a/.Sanitize +++ b/.Sanitize @@ -50,9 +50,11 @@ keep_these_too="${keep_these_too} .cvsignore CYGNUS autoconf apache bash bfd binutils bison byacc cvs deja-gnu dejagnu diff dosrel dvips emacs emacs19 examples expect fileutils findutils flex - gas gawk gcc gdb gdbm gdbtest glob gperf gprof grep grez groff guile gzip + gas gawk gcc gdb gdbm gdbtest glob gperf gprof grep grez groff + guile gzip include inet install-sh ispell - ld less libg++ libgcc libgloss libiberty libide libio librx libstdc++ + ld less libg++ libgcc libgloss libiberty libio + librx libstdc++ m4 make mkinstalldirs mmalloc move-if-change newlib ncurses opcodes pagas patch perl prms rcs readline sed send-pr shellutils sim tar textutils time @@ -71,7 +73,7 @@ else lose_these_too="${lose_these_too} ${cygnus_files}" fi -gdbtk_files="tcl tk itcl tix" +gdbtk_files="tcl tk itcl tix libgui" if ( echo $* | grep lose\-gdbtk > /dev/null) ; then lose_these_too="${lose_these_too} ${gdbtk_files}" @@ -106,7 +108,7 @@ else keep_these_too="${keep_these_too} ${inet_files}" fi -ide_files="vmake" +ide_files="libide vmake jstools" if (echo $* | grep keep\-ide > /dev/null); then keep_these_too="${keep_these_too} ${ide_files}" @@ -468,6 +470,34 @@ else done fi +m32rx_files="ChangeLog config-ml.in" +if ( echo $* | grep keep\-m32rx > /dev/null ) ; then + for i in $m32rx_files ; do + if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Keeping m32rx stuff in $i + fi + fi + done +else + for i in * ; do + if test ! -d $i && (grep sanitize-m32rx $i > /dev/null) ; then + if [ -n "${verbose}" ] ; then + echo Removing traces of \"m32rx\" from $i... + fi + cp $i new + sed '/start\-sanitize\-m32rx/,/end-\sanitize\-m32rx/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