From 9f0235b154c23e8eefeb9005acb58abe0c2415f4 Mon Sep 17 00:00:00 2001 From: das Date: Tue, 4 Nov 2003 09:36:45 +0000 Subject: * macosx/Makefile: added 'test' target. --- ChangeLog | 4 ++++ macosx/Makefile | 11 +++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index cfd96c1..1656a7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-11-04 Daniel Steffen + + * macosx/Makefile: added 'test' target. + 2003-11-03 Vince Darley * generic/tclIOUtil.c diff --git a/macosx/Makefile b/macosx/Makefile index c4e3b71..ed5441e 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.9 2003/10/01 14:33:49 das Exp $ +# RCS: @(#) $Id: Makefile,v 1.10 2003/11/04 09:36:45 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 \ -- cgit v0.12