--- loncom/build/Makefile 2002/03/01 22:06:01 1.74 +++ loncom/build/Makefile 2002/03/04 06:50:43 1.77 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Scott Harrison -# $Id: Makefile,v 1.74 2002/03/01 22:06:01 harris41 Exp $ +# $Id: Makefile,v 1.77 2002/03/04 06:50:43 harris41 Exp $ DIST="default" CATEGORY="development" @@ -64,7 +64,8 @@ TEST_lpml_scripts: cd ../test; perl filecomparetest.pl TEST_web_layer: - @echo "Testing of web layers is not yet implemented." + @echo "TESTING WEB LAYER" + cd weblayer_test; make TEST_hosts_tab: @echo "Testing hosts.tab" @@ -191,8 +192,14 @@ webserverconf: cat ../../doc/loncapafiles/webserver.piml | \ perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) +sanitycheck: + cat ../../doc/loncapafiles/sanitycheck.piml | \ + perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \ + tee -a WARNINGS + postinstall: make webserverconf + make sanitycheck install: TEST_hosts_tab Makefile.install Makefile echo -n "" > WARNINGS @@ -204,6 +211,7 @@ install: TEST_hosts_tab Makefile.install NORESTORECONF="$(NORESTORECONF)" configinstall make postinstall make warningnote + echo "You can run 'make test' to see if your system is ready to go!" Makefile.install: ../../doc/loncapafiles/loncapafiles.lpml lpml_parse.pl cat ../../doc/loncapafiles/loncapafiles.lpml | \