summaryrefslogtreecommitdiffstats
path: root/macosx/Makefile
diff options
context:
space:
mode:
authordas <das>2006-04-12 00:58:05 (GMT)
committerdas <das>2006-04-12 00:58:05 (GMT)
commit4616dc02889e74e10888b73196e1961abc8f577f (patch)
tree7e17494a5cdd70bafa96a094df82f3165f596bf2 /macosx/Makefile
parenta1a1ecb17b1c46c67fb416f5e8e9cd2af160bdb5 (diff)
downloadtcl-4616dc02889e74e10888b73196e1961abc8f577f.zip
tcl-4616dc02889e74e10888b73196e1961abc8f577f.tar.gz
tcl-4616dc02889e74e10888b73196e1961abc8f577f.tar.bz2
cosmetic fix to 'install' targets
Diffstat (limited to 'macosx/Makefile')
-rw-r--r--macosx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/Makefile b/macosx/Makefile
index 39779db..0a1869a 100644
--- a/macosx/Makefile
+++ b/macosx/Makefile
@@ -4,7 +4,7 @@
# uses the standard unix build system in tcl/unix (which can be used directly instead of this
# if you are not using the tk/macosx projects).
#
-# RCS: @(#) $Id: Makefile,v 1.5.2.14 2005/11/27 02:34:41 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.5.2.15 2006/04/12 00:58:05 das Exp $
#
########################################################################################################
@@ -131,12 +131,14 @@ ${OBJ_DIR}/Makefile: ${UNIX_DIR}/Makefile.in ${UNIX_DIR}/configure \
build-${PROJECT}: ${OBJ_DIR}/Makefile
${DO_MAKE}
+ifeq (${INSTALL_BUILD},)
# symolic link hackery to trick
# 'make install INSTALL_ROOT=${OBJ_DIR}'
# into building Tcl.framework and tclsh in ${SYMROOT}
@cd ${OBJ_DIR} && mkdir -p $(dir ./${LIBDIR}) $(dir ./${BINDIR}) ${SYMROOT} && \
rm -f ./${LIBDIR} ./${BINDIR} && ln -fs ${SYMROOT} ./${LIBDIR} && \
ln -fs ${SYMROOT} ./${BINDIR} && ln -fs ${OBJ_DIR}/tcltest ${SYMROOT}
+endif
install-${PROJECT}: build-${PROJECT}
ifeq (${EMBEDDED_BUILD}_${INSTALL_ROOT},1_)