]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* Makefile.am, HACKING: Use lt__cd throughout.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 22 Apr 2005 10:20:46 +0000 (10:20 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 22 Apr 2005 10:20:46 +0000 (10:20 +0000)
ChangeLog
HACKING
Makefile.am

index 048fd59198fcec6641d918ce2ab17068835549c2..c8962802a868b73aec2e75996f5cc5ead8c988c2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
+
+       * Makefile.am, HACKING: Use lt__cd throughout.
+
 2005-04-22  Gary V. Vaughan  <gary@gnu.org>
 
        The FSF are moving offices today.  Changed their contact address
diff --git a/HACKING b/HACKING
index 1d3b88ad7f4323592e66ce5bea8471d718f50db5..4813a5ee2ba8ddf57638461aa9e0528cf489e282 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -186,7 +186,7 @@ yyyy-mm-dd  Name of Author  <email@address>  (tiny change)
 
 * Never use basename or dirname.  Instead use sed.
 
-* Do not use `cd' within back-quotes, use `$(am__cd)' instead.
+* Do not use `cd' within back-quotes, use `$(lt__cd)' instead.
   Otherwise the directory name may be printed, depending on CDPATH.
 
 * In general, if a loop is required, it should be silent.  Then the body
index 960952014e6122b0344c3e330f3cfb6ba85fea84..d57e4f9b611a7bc88b80b7760939701b2751cfa8 100644 (file)
@@ -29,6 +29,9 @@ SUBDIRS               = $(BUILD_SUBDIRS)
 DIST_SUBDIRS   = $(BUILD_SUBDIRS)
 EXTRA_DIST     =
 
+# Using `cd' in backquotes may print the directory name, use this instead:
+lt__cd         = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+
 
 ## ---------------- ##
 ## Libtool scripts. ##
@@ -66,7 +69,7 @@ configure-subdirs distdir: $(DIST_MAKEFILE_LIST)
 @DIST_MAKEFILE_LIST@:
        dir=`echo $@ | sed 's,^[^/]*$$,.,;s,/[^/]*$$,,'`; \
        test -d $$dir || mkdir $$dir || exit 1; \
-       abs_srcdir=`cd $(srcdir) && pwd`; \
+       abs_srcdir=`$(lt__cd) $(srcdir) && pwd`; \
        (cd $$dir && $$abs_srcdir/$$dir/configure) || exit 1
 
 
@@ -340,7 +343,6 @@ tests/atconfig: config.status
        $(SHELL) ./config.status tests/atconfig
 DISTCLEANFILES += tests/atconfig
 
-lt__cd         = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 CD_TESTDIR     = abs_srcdir=`$(lt__cd) $(srcdir) && pwd`; cd tests
 
 # Hook the test suite into the check rule