summaryrefslogtreecommitdiffstats
path: root/macosx/Makefile
diff options
context:
space:
mode:
authordas <das>2003-07-18 01:06:15 (GMT)
committerdas <das>2003-07-18 01:06:15 (GMT)
commit6ad56e7d131d1c69896ded85ef8f69fcf6c446a5 (patch)
tree07667855e986797b42ae5d1d7c0a942a7051a406 /macosx/Makefile
parentfd3cca0fed42222f341474fe7ecb9843dc8fb15b (diff)
downloadtcl-6ad56e7d131d1c69896ded85ef8f69fcf6c446a5.zip
tcl-6ad56e7d131d1c69896ded85ef8f69fcf6c446a5.tar.gz
tcl-6ad56e7d131d1c69896ded85ef8f69fcf6c446a5.tar.bz2
* macosx/Makefile: added var to allow overriding of tclsh used
during html help building (Landon Fuller).
Diffstat (limited to 'macosx/Makefile')
-rw-r--r--macosx/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/Makefile b/macosx/Makefile
index 3ae458a..59aa677 100644
--- a/macosx/Makefile
+++ b/macosx/Makefile
@@ -3,7 +3,7 @@
# Makefile to build Tcl on Mac OS X packaged as a Framework
# uses standard unix build system in tcl/unix
#
-# RCS: @(#) $Id: Makefile,v 1.5.2.1 2003/07/15 01:15:51 das Exp $
+# RCS: @(#) $Id: Makefile,v 1.5.2.2 2003/07/18 01:06:16 das Exp $
#
########################################################################################################
@@ -87,6 +87,7 @@ PRODUCT_LONGVERSION := $(shell eval $$(grep '^TCL_PATCH_LEVEL=' ${UNIX_DIR}/conf
PRIVATE_HEADERS := tclInt.h tclIntDecls.h tclIntPlatDecls.h tclMath.h
TARGETS := tclsh tcltest
TCLSH := tclsh${PRODUCT_VERSION}
+TCL_EXE ?= ${SYMROOT}/${TCLSH}
DYLIB_INSTALL_PATH ?= ${INSTALL_PATH}
@@ -175,7 +176,7 @@ ifeq (${BUILD_STYLE},Deployment)
# build html documentation
export DYLD_FRAMEWORK_PATH=${SYMROOT} && \
${MAKE} -C ${OBJ_DIR} html-tcl \
- DISTDIR=${INSTALL_ROOT}${DOCDIR} TCL_EXE=${SYMROOT}/${TCLSH} && \
+ DISTDIR=${INSTALL_ROOT}${DOCDIR} TCL_EXE=${TCL_EXE} && \
cd ${INSTALL_ROOT}${DOCDIR} && ln -fs contents.htm html/${PRODUCT_NAME}TOC.html && \
rm -fr "${PRODUCT_NAME}" && mv -f html "${PRODUCT_NAME}"
endif