From e33bfde75c0780dbd517222e15b75d2da04d50ed Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 22 Apr 1998 16:18:07 +0000 Subject: [PATCH] fix sanitization for gettext changes --- gas/.Sanitize | 25 +++++++++------ gas/config/.Sanitize | 22 +++++++------ gas/doc/.Sanitize | 20 ++++++------ gas/po/.Sanitize | 41 ++++++++++++++++++++++++ gas/testsuite/gas/.Sanitize | 18 +++++++---- gas/testsuite/gas/d30v/.Sanitize | 32 ++++++++++++++++++- gas/testsuite/gas/hppa/.Sanitize | 20 ++++++++---- gas/testsuite/gas/m32r/.Sanitize | 18 +++++++---- gas/testsuite/gas/mips/.Sanitize | 26 +++++++++------ gprof/.Sanitize | 19 +++++++---- gprof/po/.Sanitize | 41 ++++++++++++++++++++++++ intl/.Sanitize | 69 ++++++++++++++++++++++++++++++++++++++++ ld/.Sanitize | 28 ++++++++-------- ld/emulparams/.Sanitize | 13 ++++---- ld/po/.Sanitize | 41 ++++++++++++++++++++++++ ld/scripttempl/.Sanitize | 10 +++--- 16 files changed, 351 insertions(+), 92 deletions(-) create mode 100644 gas/po/.Sanitize create mode 100644 gprof/po/.Sanitize create mode 100644 intl/.Sanitize create mode 100644 ld/po/.Sanitize diff --git a/gas/.Sanitize b/gas/.Sanitize index 4d66157..c7788c6 100644 --- a/gas/.Sanitize +++ b/gas/.Sanitize @@ -1,4 +1,4 @@ -# .Sanitize for devo/gas. +# .Sanitize for devo/gas # Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, @@ -23,7 +23,7 @@ for d in obsolete regress regress.m68k testscripts ; do done # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -45,6 +45,7 @@ aclocal.m4 app.c as.c as.h +asintl.h atof-generic.c bignum-copy.c bignum.h @@ -52,8 +53,8 @@ bit_fix.h cgen.c cond.c config -config.in config-gas.com +config.in configure configure.bat configure.in @@ -81,14 +82,14 @@ hash.h input-file.c input-file.h input-scrub.c -link.cmd -listing.c -listing.h -literal.c itbl-lex.l itbl-ops.c itbl-ops.h itbl-parse.y +link.cmd +listing.c +listing.h +literal.c mac-as.r macro.c macro.h @@ -99,6 +100,7 @@ mpw-make.sed obj.h output-file.c output-file.h +po read.c read.h sb.c @@ -118,6 +120,12 @@ write.h Things-to-lose: + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: v850_files="ChangeLog configure.in configure" @@ -432,5 +440,4 @@ for i in * ; do fi done -# -# End of file. +# eof diff --git a/gas/config/.Sanitize b/gas/config/.Sanitize index aa84562..79ba312 100644 --- a/gas/config/.Sanitize +++ b/gas/config/.Sanitize @@ -11,7 +11,7 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: @@ -44,7 +44,7 @@ else fi # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -55,11 +55,11 @@ aout_gnu.h atof-ieee.c atof-tahoe.c atof-vax.c -go32.cfg e-i386coff.c e-i386elf.c e-mipsecoff.c e-mipself.c +go32.cfg itbl-mips.h m68k-parse.h m68k-parse.y @@ -147,8 +147,8 @@ tc-z8k.c tc-z8k.h te-386bsd.h te-aux.h -te-delta.h te-delt88.h +te-delta.h te-dpx2.h te-dynix.h te-generic.h @@ -175,15 +175,20 @@ te-sun3.h te-svr4.h te-sysv32.h vax-inst.h -vms-conf.h vms-a-conf.h +vms-conf.h Things-to-lose: + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: r5900_files="tc-mips.c" - if ( echo $* | grep keep\-r5900 > /dev/null ) ; then for i in $r5900_files ; do if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then @@ -240,7 +245,6 @@ else fi tx19_files="tc-mips.c" - if ( echo $* | grep keep\-tx19 > /dev/null ) ; then for i in $tx19_files ; do if test ! -d $i && (grep sanitize-tx19 $i > /dev/null) ; then @@ -269,7 +273,6 @@ else fi tx49_files="ChangeLog tc-mips.c" - if ( echo $* | grep keep\-tx49 > /dev/null ) ; then for i in $tx49_files ; do if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then @@ -298,7 +301,6 @@ else fi tic80_files="obj-coff.h" - 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 @@ -442,4 +444,4 @@ for i in * ; do fi done -# End of file. +# eof diff --git a/gas/doc/.Sanitize b/gas/doc/.Sanitize index fd5744c..3e50739 100644 --- a/gas/doc/.Sanitize +++ b/gas/doc/.Sanitize @@ -1,7 +1,6 @@ -# Sanitize.in for devo. -# +# .Sanitize for devo/gas/doc -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -12,7 +11,7 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: @@ -25,7 +24,7 @@ else fi # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -60,6 +59,12 @@ internals.texi Things-to-lose: + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: v850e_files="c-v850.texi" @@ -146,13 +151,10 @@ else done fi -# Don't try to clean directories here, as the 'mv' command will fail. -# Also, grep fails on NFS mounted directories. - for i in * ; do if test ! -d $i && (grep sanitize $i > /dev/null) ; then echo '***' Some mentions of Sanitize are still left in $i! 1>&2 fi done -# End of file. +# eof diff --git a/gas/po/.Sanitize b/gas/po/.Sanitize new file mode 100644 index 0000000..50cfed6 --- /dev/null +++ b/gas/po/.Sanitize @@ -0,0 +1,41 @@ +# .Sanitize for devo/gas/po + +# Each directory to survive its way into a release will need a file +# like this one called "./.Sanitize". All keyword lines must exist, +# and must exist in the order specified by this file. Each directory +# in the tree will be processed, top down, in the following order. + +# Hash started lines like this one are comments and will be deleted +# before anything else is done. Blank lines will also be squashed +# out. + +# The lines between the "Do-first:" line and the "Things-to-keep:" +# line are executed as a /bin/sh shell script before anything else is +# done in this directory. + +Do-first: + + +# All files listed between the "Things-to-keep:" line and the +# "Do-last:" line will be kept. All other files will be removed. +# Directories listed in this section will have their own Sanitize +# called. Directories not listed will be removed in their entirety +# with rm -rf. + +Things-to-keep: + +Make-in +POTFILES.in +gas.pot + +Things-to-lose: + + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + +Do-last: + +# eof diff --git a/gas/testsuite/gas/.Sanitize b/gas/testsuite/gas/.Sanitize index e3202d4..bb65e75 100644 --- a/gas/testsuite/gas/.Sanitize +++ b/gas/testsuite/gas/.Sanitize @@ -1,8 +1,6 @@ -# Sanitize.in for devo. -# $Id$ -# +# .Sanitize for devo/gas/testsuite/gas -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -13,7 +11,7 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: @@ -42,7 +40,7 @@ else fi # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -77,6 +75,12 @@ vax Things-to-lose: + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: -# End of file. +# eof diff --git a/gas/testsuite/gas/d30v/.Sanitize b/gas/testsuite/gas/d30v/.Sanitize index 8dfc440..f378046 100644 --- a/gas/testsuite/gas/d30v/.Sanitize +++ b/gas/testsuite/gas/d30v/.Sanitize @@ -1,5 +1,27 @@ +# .Sanitize for devo/gas/testsuite/gas/d30v + +# Each directory to survive its way into a release will need a file +# like this one called "./.Sanitize". All keyword lines must exist, +# and must exist in the order specified by this file. Each directory +# in the tree will be processed, top down, in the following order. + +# Hash started lines like this one are comments and will be deleted +# before anything else is done. Blank lines will also be squashed +# out. + +# The lines between the "Do-first:" line and the "Things-to-keep:" +# line are executed as a /bin/sh shell script before anything else is +# done in this directory. + Do-first: + +# All files listed between the "Things-to-keep:" line and the +# "Do-last:" line will be kept. All other files will be removed. +# Directories listed in this section will have their own Sanitize +# called. Directories not listed will be removed in their entirety +# with rm -rf. + Things-to-keep: align.d @@ -18,4 +40,12 @@ reloc.s Things-to-lose: -Do-last: \ No newline at end of file + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + +Do-last: + +# eof diff --git a/gas/testsuite/gas/hppa/.Sanitize b/gas/testsuite/gas/hppa/.Sanitize index 9829b80..b6ce777 100644 --- a/gas/testsuite/gas/hppa/.Sanitize +++ b/gas/testsuite/gas/hppa/.Sanitize @@ -1,8 +1,6 @@ -# Sanitize.in for devo. -# $Id$ -# +# .Sanitize for devo/gas/testsuite/gas/hppa -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -13,7 +11,7 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: @@ -24,7 +22,7 @@ for d in more.parse ; do done # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -37,6 +35,14 @@ parse reloc unsorted +Things-to-lose: + + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: -# End of file. +# eof diff --git a/gas/testsuite/gas/m32r/.Sanitize b/gas/testsuite/gas/m32r/.Sanitize index 66fc6a1..d42dc01 100644 --- a/gas/testsuite/gas/m32r/.Sanitize +++ b/gas/testsuite/gas/m32r/.Sanitize @@ -1,6 +1,6 @@ -# Sanitize.in for devo/gas/testsuite/gas/m32r. +# .Sanitize for devo/gas/testsuite/gas/m32r -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -11,7 +11,7 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: @@ -23,15 +23,15 @@ else fi # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. Things-to-keep: -allinsn.exp allinsn.d +allinsn.exp allinsn.s high-1.d high-1.s @@ -43,6 +43,12 @@ uppercase.s Things-to-lose: + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: for i in * ; do @@ -51,4 +57,4 @@ for i in * ; do fi done -# End of file. +# eof diff --git a/gas/testsuite/gas/mips/.Sanitize b/gas/testsuite/gas/mips/.Sanitize index 9dacebd..2185975 100644 --- a/gas/testsuite/gas/mips/.Sanitize +++ b/gas/testsuite/gas/mips/.Sanitize @@ -1,6 +1,6 @@ -# .Sanitize for devo/gas/testsuite/gas/mips. +# .Sanitize for devo/gas/testsuite/gas/mips -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -11,7 +11,7 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: @@ -64,7 +64,7 @@ else fi # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -111,17 +111,17 @@ la.s lb-empic.d lb-pic.s lb-svr4pic.d -lb-xgot.d lb-xgot-ilocks.d +lb-xgot.d lb.d lb.s -ld.d -ld.s ld-empic.d ld-ilocks.d ld-pic.s ld-svr4pic.d ld-xgot.d +ld.d +ld.s li.d li.s lif-empic.d @@ -150,12 +150,12 @@ sb.d sb.s trunc.d trunc.s +uld.d +uld.s ulh-empic.d ulh-pic.s ulh-svr4pic.d ulh-xgot.d -uld.d -uld.s ulh.d ulh.s ulw.d @@ -169,6 +169,12 @@ usw.s Things-to-lose: + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: tx19_files="mips.exp" @@ -311,4 +317,4 @@ else done fi -# End of file. +# eof diff --git a/gprof/.Sanitize b/gprof/.Sanitize index e98540e..14f72bd 100644 --- a/gprof/.Sanitize +++ b/gprof/.Sanitize @@ -1,7 +1,6 @@ -# Sanitize.in for devo. -# +# .Sanitize for devo/gprof -# Each directory to survive it's way into a release will need a file +# Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, # and must exist in the order specified by this file. Each directory # in the tree will be processed, top down, in the following order. @@ -12,12 +11,13 @@ # The lines between the "Do-first:" line and the "Things-to-keep:" # line are executed as a /bin/sh shell script before anything else is -# done in this +# done in this directory. Do-first: + # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -25,7 +25,6 @@ Do-first: Things-to-keep: .gdbinit -bb_exit_func.c ChangeLog Makefile.am Makefile.in @@ -37,6 +36,7 @@ aclocal.m4 alpha.c basic_blocks.c basic_blocks.h +bb_exit_func.c bbconv.pl bsd_callg_bl.m call_graph.c @@ -69,6 +69,7 @@ hertz.h hist.c hist.h i386.c +po search_list.c search_list.h source.c @@ -90,6 +91,10 @@ Things-to-lose: make_hp_order_obj make_solaris_order_map +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: -# End of file. +# eof diff --git a/gprof/po/.Sanitize b/gprof/po/.Sanitize new file mode 100644 index 0000000..e011369 --- /dev/null +++ b/gprof/po/.Sanitize @@ -0,0 +1,41 @@ +# .Sanitize for devo/gprof/po + +# Each directory to survive its way into a release will need a file +# like this one called "./.Sanitize". All keyword lines must exist, +# and must exist in the order specified by this file. Each directory +# in the tree will be processed, top down, in the following order. + +# Hash started lines like this one are comments and will be deleted +# before anything else is done. Blank lines will also be squashed +# out. + +# The lines between the "Do-first:" line and the "Things-to-keep:" +# line are executed as a /bin/sh shell script before anything else is +# done in this directory. + +Do-first: + + +# All files listed between the "Things-to-keep:" line and the +# "Do-last:" line will be kept. All other files will be removed. +# Directories listed in this section will have their own Sanitize +# called. Directories not listed will be removed in their entirety +# with rm -rf. + +Things-to-keep: + +Make-in +POTFILES.in +gprof.pot + +Things-to-lose: + + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + +Do-last: + +# eof diff --git a/intl/.Sanitize b/intl/.Sanitize new file mode 100644 index 0000000..2525c30 --- /dev/null +++ b/intl/.Sanitize @@ -0,0 +1,69 @@ +# .Sanitize for devo/intl + +# Each directory to survive its way into a release will need a file +# like this one called "./.Sanitize". All keyword lines must exist, +# and must exist in the order specified by this file. Each directory +# in the tree will be processed, top down, in the following order. + +# Hash started lines like this one are comments and will be deleted +# before anything else is done. Blank lines will also be squashed +# out. + +# The lines between the "Do-first:" line and the "Things-to-keep:" +# line are executed as a /bin/sh shell script before anything else is +# done in this directory. + +Do-first: + + +# All files listed between the "Things-to-keep:" line and the +# "Do-last:" line will be kept. All other files will be removed. +# Directories listed in this section will have their own Sanitize +# called. Directories not listed will be removed in their entirety +# with rm -rf. + +Things-to-keep: + +ChangeLog +ChangeLog.Cygnus +Makefile.in +acconfig.h +aclocal.m4 +bindtextdom.c +cat-compat.c +config.in +configure +configure.in +dcgettext.c +dgettext.c +explodename.c +finddomain.c +gettext.c +gettext.h +gettextP.h +hash-string.h +intl-compat.c +intlh.inst.in +l10nflist.c +libgettext.h +libintl.glibc +linux-msg.sed +loadinfo.h +loadmsgcat.c +localealias.c +po2tbl.sed.in +textdomain.c +xopen-msg.sed + +Things-to-lose: + +README-CYGNUS + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + +Do-last: + +# eof diff --git a/ld/.Sanitize b/ld/.Sanitize index b8e01ab..322888c 100644 --- a/ld/.Sanitize +++ b/ld/.Sanitize @@ -1,4 +1,4 @@ -# .Sanitize for devo/ld. +# .Sanitize for devo/ld # Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, @@ -15,8 +15,9 @@ Do-first: + # All files listed between the "Things-to-keep:" line and the -# "Files-to-sed:" line will be kept. All other files will be removed. +# "Do-last:" line will be kept. All other files will be removed. # Directories listed in this section will have their own Sanitize # called. Directories not listed will be removed in their entirety # with rm -rf. @@ -30,8 +31,8 @@ NEWS README TODO acconfig.h -aclocal.m4 acinclude.m4 +aclocal.m4 config.in configure configure.bat @@ -41,10 +42,10 @@ configure.tgt dep-in.sed emulparams emultempl +gen-doc.texi genscripts.sh h8-doc.texi ld.1 -gen-doc.texi ld.h ld.texinfo ldcref.c @@ -74,12 +75,13 @@ lexsup.c mac-ld.r mpw-config.in mpw-elfmips.c -mpw-idtmips.c mpw-eppcmac.c mpw-esh.c +mpw-idtmips.c mpw-make.sed mri.c mri.h +po scripttempl stamp-h.in sysdep.h @@ -87,10 +89,15 @@ testsuite Things-to-lose: + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + Do-last: v850_files="ChangeLog configure.tgt Makefile.am Makefile.in" - if ( echo $* | grep keep\-v850e > /dev/null ) ; then for i in $v850_files ; do if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then @@ -119,7 +126,6 @@ else fi tx49_files="ChangeLog configure.tgt" - if ( echo $* | grep keep\-tx49 > /dev/null ) ; then for i in $tx49_files ; do if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then @@ -148,7 +154,6 @@ else fi r5900_files="ChangeLog configure.tgt Makefile.in Makefile.am" - if ( echo $* | grep keep\-r5900 > /dev/null ) ; then for i in $r5900_files ; do if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then @@ -177,7 +182,6 @@ else fi vr4320_files="ChangeLog configure.tgt" - if ( echo $* | grep keep\-vr4320 > /dev/null ) ; then for i in $vr4320_files ; do if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then @@ -206,7 +210,6 @@ else fi tic80_files="ChangeLog configure.tgt Makefile.am Makefile.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 @@ -235,7 +238,6 @@ else fi d30v_files="ChangeLog configure.tgt Makefile.am Makefile.in" - if ( echo $* | grep keep\-d30v > /dev/null ) ; then for i in $d30v_files ; do if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then @@ -264,7 +266,6 @@ else fi sky_files="ChangeLog configure.tgt" - if ( echo $* | grep keep\-sky > /dev/null ) ; then for i in $sky_files ; do if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then @@ -298,5 +299,4 @@ for i in * ; do fi done -# -# End of file. +# eof diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize index 4f532f9..7401333 100644 --- a/ld/emulparams/.Sanitize +++ b/ld/emulparams/.Sanitize @@ -16,7 +16,6 @@ Do-first: d30v_files="d30velf.sh d30v_o.sh d30v_e.sh" - if ( echo $* | grep keep\-d30v > /dev/null ) ; then keep_these_too="${d30v_files} ${keep_these_too}" else @@ -24,7 +23,6 @@ else fi tic80_files="tic80coff.sh" - if ( echo $* | grep keep\-tic80 > /dev/null ) ; then keep_these_too="${tic80_files} ${keep_these_too}" else @@ -32,7 +30,6 @@ else fi r5900_files="elf32l5900.sh" - if ( echo $* | grep keep\-r5900 > /dev/null ) ; then keep_these_too="${r5900_files} ${keep_these_too}" else @@ -62,18 +59,18 @@ d10velf.sh delta68.sh ebmon29k.sh elf32_sparc.sh +elf32b4300.sh elf32bmip.sh elf32bsmip.sh elf32ebmip.sh elf32elmip.sh +elf32l4300.sh elf32lmip.sh elf32lppc.sh elf32lsmip.sh elf32ppc.sh -elf32b4300.sh -elf32l4300.sh -elf64alpha.sh elf64_sparc.sh +elf64alpha.sh elf_i386.sh gld960.sh gld960coff.sh @@ -152,6 +149,8 @@ z8002.sh Things-to-lose: + + # The lines between the "Do-last:" line and the end of the file # are executed as a /bin/sh shell script after everything else is # done. @@ -159,7 +158,6 @@ Things-to-lose: Do-last: v850e_files="v850.sh" - if ( echo $* | grep keep\-v850e > /dev/null ) ; then for i in $v850e_files ; do if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then @@ -187,3 +185,4 @@ else done fi +# eof diff --git a/ld/po/.Sanitize b/ld/po/.Sanitize new file mode 100644 index 0000000..f46fd6a --- /dev/null +++ b/ld/po/.Sanitize @@ -0,0 +1,41 @@ +# .Sanitize for devo/ld/po + +# Each directory to survive its way into a release will need a file +# like this one called "./.Sanitize". All keyword lines must exist, +# and must exist in the order specified by this file. Each directory +# in the tree will be processed, top down, in the following order. + +# Hash started lines like this one are comments and will be deleted +# before anything else is done. Blank lines will also be squashed +# out. + +# The lines between the "Do-first:" line and the "Things-to-keep:" +# line are executed as a /bin/sh shell script before anything else is +# done in this directory. + +Do-first: + + +# All files listed between the "Things-to-keep:" line and the +# "Do-last:" line will be kept. All other files will be removed. +# Directories listed in this section will have their own Sanitize +# called. Directories not listed will be removed in their entirety +# with rm -rf. + +Things-to-keep: + +Make-in +POTFILES.in +ld.pot + +Things-to-lose: + + + +# The lines between the "Do-last:" line and the end of the file +# are executed as a /bin/sh shell script after everything else is +# done. + +Do-last: + +# eof diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize index 098fff6..aa7fe54 100644 --- a/ld/scripttempl/.Sanitize +++ b/ld/scripttempl/.Sanitize @@ -1,4 +1,4 @@ -# .Sanitize for devo/ld/scripttempl. +# .Sanitize for devo/ld/scripttempl # Each directory to survive its way into a release will need a file # like this one called "./.Sanitize". All keyword lines must exist, @@ -16,7 +16,6 @@ Do-first: d30v_files="elfd30v.sc" - if ( echo $* | grep keep\-d30v > /dev/null ) ; then keep_these_too="${d30v_files} ${keep_these_too}" else @@ -24,7 +23,6 @@ else fi tic80_files="tic80coff.sc" - if ( echo $* | grep keep\-tic80 > /dev/null ) ; then keep_these_too="${tic80_files} ${keep_these_too}" else @@ -43,9 +41,9 @@ README a29k.sc aix.sc alpha.sc +aout.sc armaout.sc armcoff.sc -aout.sc delta68.sc ebmon29k.sc elf.sc @@ -91,6 +89,8 @@ z8000.sc Things-to-lose: + + # The lines between the "Do-last:" line and the end of the file # are executed as a /bin/sh shell script after everything else is # done. @@ -98,7 +98,6 @@ Things-to-lose: Do-last: v850_files="v850.sc" - if ( echo $* | grep keep\-v850e > /dev/null ) ; then for i in $v850_files ; do if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then @@ -126,3 +125,4 @@ else done fi +# eof -- 2.7.4