Update of /cvsroot/libfunutil/libfunutil/toc/make
In directory sc8-pr-cvs1:/tmp/cvs-serv12902
Modified Files:
install.make
Log Message:
fixed cygwin-related PWD bug which broke symlinks under cygwin
Index: install.make
===================================================================
RCS file: /cvsroot/libfunutil/libfunutil/toc/make/install.make,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- install.make 30 Aug 2003 19:20:30 -0000 1.20
+++ install.make 31 Aug 2003 00:44:12 -0000 1.21
@@ -84,13 +84,13 @@
# Note that symlinks must be linked to absolute paths here, because we cannot
# easily/reliably make a relative path from the target directory back to
# the install source:
-# KNOWN TO NOT WORK PROPERLY UNDER CYGWIN: the symlinks point to the wrong place.
toc_make_install_symlink = $(call TOC_MAKE_INSTALL_GREP_KLUDGE,$(1)); \
test -d $(2) || mkdir -p $(2) || exit; \
for b in $(1) ""; do test -z "$$b" && continue; \
target=$(2)/$$b; \
+ pwd=$$(pwd); \
test $$target -ef $$b && continue; \
- echo "Symlinking $$target"; ln -s -f $$PWD/$$b $$target || exit $$?; \
+ echo "Symlinking $$target"; ln -s -f $$pwd/$$b $$target || exit $$?; \
done
# toc_make_install_so: installs foo.so.X.Y.Z and symlinks foo.so, foo.so.X and foo.so.X.Y to it,
|