diff options
author | das <das@noemail.net> | 2006-04-12 00:58:00 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2006-04-12 00:58:00 (GMT) |
commit | d4a1b9a739a322cda38e57eaf838a63023bd4b20 (patch) | |
tree | 59934eb1bba24499f3277ab6dfa1ddf37ba42f90 /macosx/GNUmakefile | |
parent | 61696de936371341c4b85ceba01034d232b37cff (diff) | |
download | tcl-d4a1b9a739a322cda38e57eaf838a63023bd4b20.zip tcl-d4a1b9a739a322cda38e57eaf838a63023bd4b20.tar.gz tcl-d4a1b9a739a322cda38e57eaf838a63023bd4b20.tar.bz2 |
cosmetic fix to 'install' targets
FossilOrigin-Name: e8ce97c351f5de4a94d7073c6fb36b1d54f75fc7
Diffstat (limited to 'macosx/GNUmakefile')
-rw-r--r-- | macosx/GNUmakefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/GNUmakefile b/macosx/GNUmakefile index 167f67b..950ed50 100644 --- a/macosx/GNUmakefile +++ b/macosx/GNUmakefile @@ -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: GNUmakefile,v 1.2 2005/11/27 02:33:49 das Exp $ +# RCS: @(#) $Id: GNUmakefile,v 1.3 2006/04/12 00:58:01 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_) |