summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2003-11-04 09:36:30 (GMT)
committerdas <das>2003-11-04 09:36:30 (GMT)
commit701d1c58d8cd4bdfbb46baa4b55521874532e320 (patch)
tree12b54bbdbea8b736ad71d6b9872325f6b5fedabf
parent65559dfb74df54a154b2149f258f15a864c518e9 (diff)
downloadtcl-701d1c58d8cd4bdfbb46baa4b55521874532e320.zip
tcl-701d1c58d8cd4bdfbb46baa4b55521874532e320.tar.gz
tcl-701d1c58d8cd4bdfbb46baa4b55521874532e320.tar.bz2
* macosx/Makefile: added 'test' target.
-rw-r--r--ChangeLog4
-rw-r--r--macosx/Makefile11
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 32299c3..5ecf22e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-04 Daniel Steffen <das@users.sourceforge.net>
+
+ * macosx/Makefile: added 'test' target.
+
2003-10-31 Vince Darley <vincentdarley@users.sourceforge.net>
* generic/tclTest.c: fix test suite memory leak (backport error)
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 \