[mw-devel] MW3 r1112 - trunk/src

welshbyte at sucs.org welshbyte at sucs.org
Thu Nov 26 13:50:17 GMT 2009


Author: welshbyte
Date: 2009-11-26 13:50:17 +0000 (Thu, 26 Nov 2009)
New Revision: 1112

Modified:
   trunk/src/Makefile
Log:
Fix 'make test' to install the help files, colours, etc. in the TESTDIR root.


Modified: trunk/src/Makefile
===================================================================
--- trunk/src/Makefile	2009-11-26 13:15:11 UTC (rev 1111)
+++ trunk/src/Makefile	2009-11-26 13:50:17 UTC (rev 1112)
@@ -121,9 +121,10 @@
 test:
 	make TESTDIR=$(CURDIR)/mwtest $@
 else
+TESTFILES=../colour ../help ../login.banner ../mudhelp ../rooms ../scripthelp ../talkhelp ../wizhelp
 test:
 	mkdir -p $(TESTDIR)
 	cd $(TESTDIR) && mkdir -p mw run/mw log/mw lib/mw
-	cp ../login.banner $(TESTDIR)/mw/
+	cp -ua $(TESTFILES) $(TESTDIR)/mw/
 	make libdir=$(TESTDIR) localstatedir=$(TESTDIR)
 endif




More information about the mw-devel mailing list