The branch "master" has been updated in SBCL:
via 98cc9eff5b1ba1bbfb65bcfddcbd00cb08edf8f1 (commit)
from 7acdf15e27993655c9249f79d36fe2117843dbdf (commit)
- Log -----------------------------------------------------------------
commit 98cc9eff5b1ba1bbfb65bcfddcbd00cb08edf8f1
Author: David Lichteblau <david@...>
Date: Thu Jul 7 17:01:11 2011 +0200
Use preprocessor includes for link_or_copy on Windows
---
make-config.sh | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/make-config.sh b/make-config.sh
index 00da0ef..b5c425f 100644
--- a/make-config.sh
+++ b/make-config.sh
@@ -293,7 +293,16 @@ esac
link_or_copy() {
if [ "$sbcl_os" = "win32" ] ; then
- cp -r "$1" "$2"
+ # Use preprocessor or makefile includes instead of copying if
+ # possible, to avoid unexpected use of the original, unchanged
+ # files when re-running only make-target-1 during development.
+ if echo "$1" | egrep '[.][ch]$'; then
+ echo "#include \"$1\"" >"$2"
+ elif echo "$1" | egrep '^Config[.]'; then
+ echo "include $1" >"$2"
+ else
+ cp -r "$1" "$2"
+ fi
else
ln -s "$1" "$2"
fi
-----------------------------------------------------------------------
hooks/post-receive
--
SBCL
|