* ltmain.in: Don't accumulate directory information in clean mode.

Include properly pathed wrapper script.
This commit is contained in:
Wesley W. Terpstra 2003-03-22 06:46:07 +00:00 committed by Robert Boehne
parent 2a0c045721
commit a986ae20e5
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-03-21 Wesley W. Terpstra <terpstra@ito.tu-darmstadt.de>
* ltmain.in: Don't accumulate directory information in clean mode.
Include properly pathed wrapper script.
2003-03-21 Peter O'Gorman <peter@pogma.com>
* README: Remove "Important" information about patching automake.

View File

@ -5843,13 +5843,14 @@ relink_command=\"$relink_command\""
rmdirs=
origobjdir="$objdir"
for file in $files; do
dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`
if test "X$dir" = "X$file"; then
dir=.
objdir="$objdir"
objdir="$origobjdir"
else
objdir="$dir/$objdir"
objdir="$dir/$origobjdir"
fi
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
test "$mode" = uninstall && objdir="$dir"
@ -5960,7 +5961,7 @@ relink_command=\"$relink_command\""
# Do a test to see if this is a libtool program.
if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
relink_command=
. $dir/$file
. $dir/$noexename
# note $name still contains .exe if it was in $file originally
# as does the version of $file that was added into $rmfiles
@ -5978,6 +5979,7 @@ relink_command=\"$relink_command\""
$show "$rm $rmfiles"
$run $rm $rmfiles || exit_status=1
done
objdir="$origobjdir"
# Try to remove the ${objdir}s in the directories where we deleted files
for dir in $rmdirs; do