[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: Use lt__cd in backquotes in Makefiles [libtool--devo--1.0--patch-13
From: |
Gary V. Vaughan |
Subject: |
FYI: Use lt__cd in backquotes in Makefiles [libtool--devo--1.0--patch-130] |
Date: |
Fri, 22 Apr 2005 11:21:15 +0100 (BST) |
User-agent: |
mailnotify/0.6 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Applied to HEAD.
* looking for address@hidden/libtool--devo--1.0--patch-129 to compare with
* comparing to address@hidden/libtool--devo--1.0--patch-129
M Makefile.am
M HACKING
M ChangeLog
* modified files
Index: Changelog
from Ralf Wildenhues <address@hidden> (tiny change)
* Makefile.am, HACKING: Use lt__cd throughout.
--- orig/HACKING
+++ mod/HACKING
@@ -186,7 +186,7 @@
* 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
--- orig/Makefile.am
+++ mod/Makefile.am
@@ -29,6 +29,9 @@
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 @@
@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 @@
$(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
- --
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
_________________________________________________________
This patch notification generated by tlaapply version 0.9
http://tkd.kicks-ass.net/arch/address@hidden/cvs-utils--tla--1.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCaNAaFRMICSmD1gYRAlKeAJ9R0Kzf5CCSrJklpBr0eME91Utq9QCgn8CW
wEM00X1XUGyUwIEB39Z4krA=
=Oon+
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: Use lt__cd in backquotes in Makefiles [libtool--devo--1.0--patch-130],
Gary V. Vaughan <=