Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2006-09-19 18:50:28 +0400
committerRaja R Harinath <harinath@hurrynot.org>2006-09-19 18:50:28 +0400
commit5fe6a8d25ead358eb299564ca8c70268b3dd3f47 (patch)
tree3f0e987a06109a5ac517efcd3031adaccb63a169 /runtime
parent38a9d26bd4eef037283e728a40989006bbfa0963 (diff)
Fix the other redirection to $@ (hopefully very unlikely to trigger, I suspect very few people use --with-libgdiplus)
svn path=/trunk/mono/; revision=65655
Diffstat (limited to 'runtime')
-rw-r--r--runtime/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/runtime/Makefile.am b/runtime/Makefile.am
index 05e622d07d7..8a2fd655088 100644
--- a/runtime/Makefile.am
+++ b/runtime/Makefile.am
@@ -103,12 +103,10 @@ CLEANFILES = etc/mono/config
etc/mono/config: ../data/config Makefile $(symlinks)
d=`cd ../support && pwd`; \
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
+ if test -z "$(libgdiplus_loc)"; then :; else \
+ sed 's,<configuration>,& <dllmap dll="gdiplus.dll" target="$(libgdiplus_loc)" />,' $@t > $@tt; \
+ mv -f $@tt $@t; fi
+ mv -f $@t $@
$(tmpinst)/bin/mono: mono-wrapper etc/mono/config
cp mono-wrapper $@