diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2006-09-19 18:23:25 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2006-09-19 18:23:25 +0400 |
commit | e2776da872eb1bfb8c36d8fc71935ea5b9d5421e (patch) | |
tree | 759f54d65a8791a4f309e20bb3c121ec535459d8 /runtime | |
parent | 903564bc449deb25d71a6d38a912005744e198e5 (diff) |
* runtime/Makefile.am (etc/mono/config): Fix rule to avoid writing
into a symlink created by the 2006-09-13 change below.
svn path=/trunk/mono/; revision=65646
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am index c0426d2495e..05e622d07d7 100644 --- a/runtime/Makefile.am +++ b/runtime/Makefile.am @@ -102,9 +102,10 @@ CLEANFILES = etc/mono/config # depend on $(symlinks) to ensure 'etc/mono' directory exists etc/mono/config: ../data/config Makefile $(symlinks) d=`cd ../support && pwd`; \ - sed 's,target="libMonoPosixHelper[^"]*",target="'$$d/libMonoPosixHelper.la'",' ../data/config > $@ - if test -z "$(libgdiplus_loc)"; then :; else \ - mv $@ $@t; \ + sed 's,target="libMonoPosixHelper[^"]*",target="'$$d/libMonoPosixHelper.la'",' ../data/config > $@t + if test -z "$(libgdiplus_loc)"; then \ + mv -f $@t $@; \ + else \ sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="$(libgdiplus_loc)" />,' $@t > $@; \ rm -f $@t; \ fi |