summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2004-05-31 21:44:57 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2004-05-31 21:44:57 +0000
commit1a0bd5ddb826b7f757d5549b3198ab6518f6b276 (patch)
treefddd9248a4084a7afd46fcfb04a32822666772c9
parentad97d50fb166f87fdaaf5580782dbc22ea347b19 (diff)
downloadautomake-1a0bd5ddb826b7f757d5549b3198ab6518f6b276.tar.gz
* lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output, and we will clean the second automatically during distclean. Using the latter and leaving the former as we did before cause "files left in build directory" failures during distcheck. Suggested by Nicolas Joly.
-rw-r--r--ChangeLog7
-rwxr-xr-xlib/depcomp9
2 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ca3208029..ee2a088db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-05-31 Alexandre Duret-Lutz <adl@gnu.org>
+ * lib/depcomp (tru64) [libtool]: Use $dir$base.o.d instead
+ of $dir.libs/$base.o.d. Libtool 1.5 causes both to be output,
+ and we will clean the second automatically during distclean.
+ Using the latter and leaving the former as we did before cause
+ "files left in build directory" failures during distcheck.
+ Suggested by Nicolas Joly.
+
* doc/automake.texi (Built sources example): Explain what
nodist_foo_SOURCES is (not) useful to, and use it in all the
examples.
diff --git a/lib/depcomp b/lib/depcomp
index b966ddd8c..11e2d3bfe 100755
--- a/lib/depcomp
+++ b/lib/depcomp
@@ -1,7 +1,7 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2004-04-25.14
+scriptversion=2004-05-31.23
# Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
@@ -288,9 +288,12 @@ tru64)
if test "$libtool" = yes; then
# Dependencies are output in .lo.d with libtool 1.4.
- # They are output in .o.d with libtool 1.5.
+ # With libtool 1.5 they are output both in $dir.libs/$base.o.d
+ # and in $dir.libs/$base.o.d and $dir$base.o.d. We process the
+ # latter, because the former will be cleaned when $dir.libs is
+ # erased.
tmpdepfile1="$dir.libs/$base.lo.d"
- tmpdepfile2="$dir.libs/$base.o.d"
+ tmpdepfile2="$dir$base.o.d"
tmpdepfile3="$dir.libs/$base.d"
"$@" -Wc,-MD
else