* Makefile.am, HACKING: Use lt__cd throughout.

This commit is contained in:
Ralf Wildenhues 2005-04-22 10:20:46 +00:00 committed by Gary V. Vaughan
parent 94cc58be06
commit 93cd550c92
3 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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

View 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