diff options
author | das <das@noemail.net> | 2003-11-04 09:36:29 (GMT) |
---|---|---|
committer | das <das@noemail.net> | 2003-11-04 09:36:29 (GMT) |
commit | a04a48eb8144ab5068355aa11dd785ae5c793111 (patch) | |
tree | 12b54bbdbea8b736ad71d6b9872325f6b5fedabf /macosx/Makefile | |
parent | e7e139378267832fd2420ae50cf09677b41c4e8f (diff) | |
download | tcl-a04a48eb8144ab5068355aa11dd785ae5c793111.zip tcl-a04a48eb8144ab5068355aa11dd785ae5c793111.tar.gz tcl-a04a48eb8144ab5068355aa11dd785ae5c793111.tar.bz2 |
* macosx/Makefile: added 'test' target.
FossilOrigin-Name: fd1362a4890cdaf241edaa48ecb2d0bb57d55412
Diffstat (limited to 'macosx/Makefile')
-rw-r--r-- | macosx/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/macosx/Makefile b/macosx/Makefile index f3c8e02..79b6659 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.5 2003/10/01 14:34:16 das Exp $ +# RCS: @(#) $Id: Makefile,v 1.5.2.6 2003/11/04 09:36:30 das Exp $ # ######################################################################################################## @@ -35,7 +35,7 @@ TCL_PACKAGE_PATH ?= "~/Library/Tcl /Library/Tcl /Network/Library/Tcl /System/Lib #------------------------------------------------------------------------------------------------------- # meta targets -meta := all install embedded install-embedded clean distclean +meta := all install embedded install-embedded clean distclean test styles := develop deploy @@ -58,6 +58,10 @@ distclean := ${styles:%=distclean-%} distclean : ${distclean} distclean-%: action := distclean- +test := ${styles:%=test-%} +test : ${test} +test-%: action := test- + targets := $(foreach v,${meta},${$v}) #------------------------------------------------------------------------------------------------------- @@ -143,6 +147,9 @@ distclean-${PROJECT}: ${MAKE} -C ${OBJ_DIR} distclean ${EXTRA_MAKE_ARGS} rm -rf ${OBJ_DIR} ${PRODUCT_NAME}.framework tclsh${PRODUCT_VERSION} tcltest +test-${PROJECT}: build-${PROJECT} + ${MAKE} -C ${OBJ_DIR} test ${EXTRA_MAKE_ARGS} + install-${PROJECT}: build-${PROJECT} # install to ${INSTALL_ROOT} with optional stripping ${MAKE} -C ${OBJ_DIR} install-binaries install-libraries \ |