+2006-09-19 Raja R Harinath <rharinath@novell.com>
+
+ * runtime/Makefile.am (etc/mono/config): Fix rule to avoid writing
+ into a symlink created by the 2006-09-13 change below.
+
2006-09-17 Zoltan Varga <vargaz@gmail.com>
* docs/thread-safety.txt: Moved here from mono/metadata.
# 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