1998-04-22 16:18:07 +00:00
|
|
|
# .Sanitize for devo/ld
|
1991-05-23 21:49:14 +00:00
|
|
|
|
1994-01-26 04:19:32 +00:00
|
|
|
# Each directory to survive its way into a release will need a file
|
1991-05-23 21:49:14 +00:00
|
|
|
# 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
|
1994-01-26 04:19:32 +00:00
|
|
|
# done in this directory.
|
1991-05-23 21:49:14 +00:00
|
|
|
|
|
|
|
Do-first:
|
|
|
|
|
1998-08-20 22:00:31 +00:00
|
|
|
# Remember the current lists of files in the subdirectories from which
|
|
|
|
# we might remove files.
|
|
|
|
if test -d emulparams; then
|
|
|
|
ld_emulparams_files=`cd emulparams; echo *`
|
|
|
|
else
|
|
|
|
ld_emulparams_files=
|
|
|
|
fi
|
|
|
|
if test -d emultempl; then
|
|
|
|
ld_emultempl_files=`cd emultempl; echo *`
|
|
|
|
else
|
|
|
|
ld_emultempl_files=
|
|
|
|
fi
|
|
|
|
if test -d scripttempl; then
|
|
|
|
ld_scripttempl_files=`cd scripttempl; echo *`
|
|
|
|
else
|
|
|
|
ld_scripttempl_files=
|
|
|
|
fi
|
1998-04-22 16:18:07 +00:00
|
|
|
|
1991-05-23 21:49:14 +00:00
|
|
|
# All files listed between the "Things-to-keep:" line and the
|
1998-04-22 16:18:07 +00:00
|
|
|
# "Do-last:" line will be kept. All other files will be removed.
|
1991-05-23 21:49:14 +00:00
|
|
|
# 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:
|
1993-05-27 06:44:29 +00:00
|
|
|
|
1991-10-05 04:55:05 +00:00
|
|
|
ChangeLog
|
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.
1997-08-09 04:54:28 +00:00
|
|
|
Makefile.am
|
1991-05-23 21:49:14 +00:00
|
|
|
Makefile.in
|
1993-05-17 19:45:17 +00:00
|
|
|
NEWS
|
1992-02-16 20:49:26 +00:00
|
|
|
README
|
1992-09-03 22:56:45 +00:00
|
|
|
TODO
|
1995-09-06 18:58:05 +00:00
|
|
|
acconfig.h
|
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.
1997-08-09 04:54:28 +00:00
|
|
|
acinclude.m4
|
1998-04-22 16:18:07 +00:00
|
|
|
aclocal.m4
|
1995-09-07 17:20:53 +00:00
|
|
|
config.in
|
1995-09-06 18:58:05 +00:00
|
|
|
configure
|
1992-02-22 00:11:39 +00:00
|
|
|
configure.bat
|
1995-09-06 18:58:05 +00:00
|
|
|
configure.host
|
1991-05-23 21:49:14 +00:00
|
|
|
configure.in
|
1995-09-06 18:58:05 +00:00
|
|
|
configure.tgt
|
1993-12-13 19:37:22 +00:00
|
|
|
dep-in.sed
|
1993-06-21 23:40:21 +00:00
|
|
|
emulparams
|
|
|
|
emultempl
|
1998-04-22 16:18:07 +00:00
|
|
|
gen-doc.texi
|
1992-02-16 20:49:26 +00:00
|
|
|
genscripts.sh
|
1993-03-30 23:25:03 +00:00
|
|
|
h8-doc.texi
|
1992-08-17 18:35:59 +00:00
|
|
|
ld.1
|
1991-09-23 20:59:12 +00:00
|
|
|
ld.h
|
|
|
|
ld.texinfo
|
1996-06-04 23:37:13 +00:00
|
|
|
ldcref.c
|
1991-11-05 20:36:54 +00:00
|
|
|
ldctor.c
|
1991-12-08 01:27:59 +00:00
|
|
|
ldctor.h
|
1992-02-16 20:49:26 +00:00
|
|
|
ldemul.c
|
|
|
|
ldemul.h
|
1991-09-23 20:59:12 +00:00
|
|
|
ldexp.c
|
|
|
|
ldexp.h
|
|
|
|
ldfile.c
|
|
|
|
ldfile.h
|
|
|
|
ldgram.y
|
1992-08-07 01:37:39 +00:00
|
|
|
ldint.texinfo
|
1991-09-23 20:59:12 +00:00
|
|
|
ldlang.c
|
|
|
|
ldlang.h
|
|
|
|
ldlex.h
|
|
|
|
ldlex.l
|
|
|
|
ldmain.c
|
|
|
|
ldmain.h
|
|
|
|
ldmisc.c
|
|
|
|
ldmisc.h
|
|
|
|
ldver.c
|
|
|
|
ldver.h
|
|
|
|
ldwrite.c
|
|
|
|
ldwrite.h
|
1992-01-29 16:44:09 +00:00
|
|
|
lexsup.c
|
1995-10-27 05:30:14 +00:00
|
|
|
mac-ld.r
|
1995-04-12 18:46:15 +00:00
|
|
|
mpw-config.in
|
1997-04-03 05:50:32 +00:00
|
|
|
mpw-elfmips.c
|
1995-12-12 22:37:05 +00:00
|
|
|
mpw-eppcmac.c
|
1995-06-21 20:00:22 +00:00
|
|
|
mpw-esh.c
|
1998-04-22 16:18:07 +00:00
|
|
|
mpw-idtmips.c
|
1995-10-27 05:30:14 +00:00
|
|
|
mpw-make.sed
|
1992-04-15 23:11:53 +00:00
|
|
|
mri.c
|
1992-05-01 22:08:40 +00:00
|
|
|
mri.h
|
1998-04-22 16:18:07 +00:00
|
|
|
po
|
1993-06-21 23:40:21 +00:00
|
|
|
scripttempl
|
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.
1997-08-09 04:54:28 +00:00
|
|
|
stamp-h.in
|
1995-09-06 18:58:05 +00:00
|
|
|
sysdep.h
|
1994-01-28 17:19:22 +00:00
|
|
|
testsuite
|
1991-05-23 21:49:14 +00:00
|
|
|
|
1993-05-27 06:44:29 +00:00
|
|
|
Things-to-lose:
|
|
|
|
|
1998-04-22 16:18:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
1991-05-23 21:49:14 +00:00
|
|
|
Do-last:
|
|
|
|
|
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.
1997-08-09 04:54:28 +00:00
|
|
|
v850_files="ChangeLog configure.tgt Makefile.am Makefile.in"
|
1997-08-18 18:12:54 +00:00
|
|
|
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
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping v850e stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $v850_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-v850e $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"v850e\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-v850e/,/end-\sanitize\-v850e/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
|
1997-02-11 13:26:34 +00:00
|
|
|
|
1997-10-29 22:53:58 +00:00
|
|
|
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
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping tx49 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $tx49_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-tx49 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"tx49\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-tx49/,/end-\sanitize\-tx49/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
|
|
|
|
|
1998-02-16 17:25:52 +00:00
|
|
|
r5900_files="ChangeLog configure.tgt Makefile.in Makefile.am"
|
1997-02-11 13:26:34 +00:00
|
|
|
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
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping r5900 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $r5900_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"r5900\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
|
|
|
|
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
1996-08-22 22:32:21 +00:00
|
|
|
echo Caching $i in .Recover...
|
|
|
|
fi
|
|
|
|
mv $i .Recover
|
|
|
|
fi
|
|
|
|
mv new $i
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
|
1998-03-03 16:20:17 +00:00
|
|
|
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
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping vr4320 stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $vr4320_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-vr4320 $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"vr4320\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-vr4320/,/end-\sanitize\-vr4320/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
|
|
|
|
|
* Makefile.am: New file, based on old Makefile.in.
* acinclude.m4: New file, from old aclocal.m4.
* configure.in: Call AM_INIT_AUTOMAKE and AM_PROG_LIBTOOL. Remove
shared library handling; now handled by libtool. Replace
AC_CONFIG_HEADER with AM_CONFIG_HEADER. Call AC_PROG_YACC,
AC_PROG_LEX, and AC_DECL_YYTEXT. Call AM_MAINTAINER_MODE,
AM_CYGWIN32, and AM_EXEEXT. Don't call CY_CYGWIN32 or CY_EXEEXT.
* configure.host: Don't set HLDFLAGS, HLDENV, or RPATH_ENVVAR.
* acconfig.h: Mention PACKAGE and VERSION.
* stamp-h.in: New file.
* ldver.c (ld_program_vresion): Set ld_program_version from
VERSION.
* ldgram.y, ldlex.l: Replace VERSION with VERSIONK.
* Makefile.in: Now built with automake.
* aclocal.m4: Now built with aclocal.
* configure, config.in: Rebuild.
1997-08-09 04:54:28 +00:00
|
|
|
tic80_files="ChangeLog configure.tgt Makefile.am Makefile.in"
|
1997-02-10 01:17:14 +00:00
|
|
|
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 $tic80_files ; 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
|
|
|
|
|
1998-01-28 20:29:04 +00:00
|
|
|
sky_files="ChangeLog configure.tgt"
|
1997-12-22 17:04:20 +00:00
|
|
|
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
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping sky stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $sky_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-sky $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"sky\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-sky/,/end-\sanitize\-sky/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
|
|
|
|
|
1998-07-14 23:15:20 +00:00
|
|
|
beos_files="ChangeLog Makefile.am Makefile.in configure.tgt"
|
|
|
|
if ( echo $* | grep keep\-beos > /dev/null ) ; then
|
|
|
|
for i in $beos_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping beos stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $beos_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-beos $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"beos\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-beos/,/end-\sanitize\-beos/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
|
|
|
|
|
1998-08-21 16:02:40 +00:00
|
|
|
armelf_files="ChangeLog configure.tgt Makefile.am Makefile.in"
|
1998-08-04 15:53:37 +00:00
|
|
|
if ( echo $* | grep keep\-armelf > /dev/null ) ; then
|
|
|
|
for i in $armelf_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Keeping armelf stuff in $i
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
else
|
|
|
|
for i in $armelf_files ; do
|
|
|
|
if test ! -d $i && (grep sanitize-armelf $i > /dev/null) ; then
|
|
|
|
if [ -n "${verbose}" ] ; then
|
|
|
|
echo Removing traces of \"armelf\" from $i...
|
|
|
|
fi
|
|
|
|
cp $i new
|
|
|
|
sed '/start\-sanitize\-armelf/,/end-\sanitize\-armelf/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
|
|
|
|
|
1998-08-04 21:18:41 +00:00
|
|
|
for i in * ; do
|
1998-08-20 22:00:31 +00:00
|
|
|
if test ! -d $i && (grep sanitize $i > /dev/null) ; then
|
|
|
|
echo '***' Some mentions of Sanitize are still left in ld/$i! 1>&2
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
for lost in .. $ld_emulparams_files; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if test $lost != .. && test $lost != CVS; then
|
1998-08-20 22:00:31 +00:00
|
|
|
if test -f emulparams/$lost; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
lost2=`echo $lost | sed -e 's/.sh$//'`
|
|
|
|
for i in Makefile.am Makefile.in configure.host configure.tgt configure.in configure; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if fgrep $lost2 $i >/dev/null 2>&1; then
|
1998-08-20 22:00:31 +00:00
|
|
|
echo '***' File ld/emulparams/$lost was sanitized out but is still mentioned in ld/$i 1>&2
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
for lost in .. $ld_emultempl_files; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if test $lost != .. && test $lost != CVS; then
|
1998-08-20 22:00:31 +00:00
|
|
|
if test -f emultempl/$lost; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
lost2=`echo $lost | sed -e 's/.em$//'`
|
|
|
|
for i in Makefile.am Makefile.in configure.host configure.tgt configure.in configure; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if fgrep $lost2 $i >/dev/null 2>&1; then
|
|
|
|
# There is a valid mention of beos in configure.tgt
|
|
|
|
if test $lost2 != "beos" || test $i != configure.tgt; then
|
|
|
|
echo '***' File ld/emultempl/$lost was sanitized out but is still mentioned in ld/$i 1>&2
|
|
|
|
fi
|
1998-08-20 22:00:31 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
if test -d emulparams; then
|
|
|
|
for i in emulparams/*; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if fgrep $lost2 $i >/dev/null 2>&1; then
|
|
|
|
echo '***' File ld/emultempl/$lost was sanitized out but is still mentioned in ld/$i 1>&2
|
1998-08-20 22:00:31 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
for lost in .. $ld_scripttempl_files; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if test $lost != .. && test $lost != CVS; then
|
1998-08-20 22:00:31 +00:00
|
|
|
if test -f scripttempl/$lost; then
|
|
|
|
:
|
|
|
|
else
|
|
|
|
lost2=`echo $lost | sed -e 's/.sc$//'`
|
|
|
|
for i in Makefile.am Makefile.in configure.host configure.tgt configure.in configure; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if fgrep $lost2 $i >/dev/null 2>&1; then
|
1998-08-20 22:00:31 +00:00
|
|
|
echo '***' File ld/scripttempl/$lost was sanitized out but is still mentioned in ld/$i 1>&2
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
if test -d emulparams; then
|
|
|
|
for i in emulparams/*; do
|
1998-08-21 16:02:40 +00:00
|
|
|
if fgrep $lost2 $i >/dev/null 2>&1; then
|
|
|
|
echo '***' File ld/scripttempl/$lost was sanitized out but is still mentioned in ld/$i 1>&2
|
1998-08-20 22:00:31 +00:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
1998-08-04 21:18:41 +00:00
|
|
|
done
|
|
|
|
|
1998-04-22 22:40:45 +00:00
|
|
|
# This must come after all other sanitizations. Re-sanitize the .pot
|
|
|
|
# file.
|
|
|
|
if [ -n "${verbose}" ]; then
|
|
|
|
echo Re-computing files for gettext ...
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -n "${safe}" -a ! -f po/.Recover/POTFILES.in ]; then
|
|
|
|
if [ -n "${verbose}" ]; then
|
|
|
|
echo Caching po/POTFILES.in in .Recover...
|
|
|
|
fi
|
|
|
|
mv po/POTFILES.in po/.Recover
|
|
|
|
fi
|
|
|
|
find . -name '*.[ch]' | sed -e 's,^\./,,' > po/POTFILES.in
|
|
|
|
|
|
|
|
if [ -n "${safe}" -a ! -f po/.Recover/ld.pot ]; then
|
|
|
|
if [ -n "${verbose}" ]; then
|
|
|
|
echo Caching po/ld.pot in .Recover...
|
|
|
|
fi
|
|
|
|
mv po/ld.pot po/.Recover
|
|
|
|
fi
|
1998-04-23 05:17:30 +00:00
|
|
|
# If this fails, Sanitization must fail.
|
1998-05-14 22:07:30 +00:00
|
|
|
xgettext -c -C -k_ -kN_ -f po/POTFILES.in -o po/ld.pot || exit 1
|
1998-04-22 16:18:07 +00:00
|
|
|
# eof
|