From b7dde334787f9a3267aab81c19cddd32df9ccc19 Mon Sep 17 00:00:00 2001
From: Sean Dague
Date: Wed, 10 Sep 2008 20:31:24 +0000
Subject: have the Makefile run prebuild on test targets as well as it helps to
 actually include new test files to run prior to upload.

---
 Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index d5c7146..106e866 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,10 @@
 NANT	= $(shell if test "$$EMACS" = "t" ; then echo "nant"; else echo "./nant-color"; fi)
 
-all:
-	# @export PATH=/usr/local/bin:$(PATH)
+prebuild:
 	./runprebuild.sh
+
+all: prebuild
+	# @export PATH=/usr/local/bin:$(PATH)
 	${NANT}
 	find OpenSim -name \*.mdb -exec cp {} bin \; 
 
@@ -10,10 +12,10 @@ clean:
 	# @export PATH=/usr/local/bin:$(PATH)
 	${NANT} clean
 
-test:
+test: prebuild
 	${NANT} test
 
-test-xml:
+test-xml: prebuild
 	${NANT} test-xml
 
 tags:
-- 
cgit v1.1