[LON-CAPA-cvs] cvs: loncom /build Makefile doc/loncapafiles buildfiles.lpml

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 19 May 2004 16:05:38 -0000


matthew		Wed May 19 12:05:38 2004 EDT

  Modified files:              
    /doc/loncapafiles	buildfiles.lpml 
    /loncom/build	Makefile 
  Log:
  Adding checkntp.piml
  
  
Index: doc/loncapafiles/buildfiles.lpml
diff -u doc/loncapafiles/buildfiles.lpml:1.9 doc/loncapafiles/buildfiles.lpml:1.10
--- doc/loncapafiles/buildfiles.lpml:1.9	Tue Feb 10 15:54:14 2004
+++ doc/loncapafiles/buildfiles.lpml	Wed May 19 12:05:38 2004
@@ -2,7 +2,7 @@
  "http://lpml.sourceforge.net/DTD/lpml.dtd">
 <!-- buildfiles.lpml -->
 
-<!-- $Id: buildfiles.lpml,v 1.9 2004/02/10 20:54:14 www Exp $ -->
+<!-- $Id: buildfiles.lpml,v 1.10 2004/05/19 16:05:38 matthew Exp $ -->
 
 <!--
 
@@ -169,6 +169,16 @@
 <categoryname>system file</categoryname>
 <description>
 Checks LON-CAPA system for frequently occuring bugs.
+</description>
+<note>
+</note>
+</file>
+<file>
+<source>doc/loncapafiles/ntpcheck.piml</source>
+<target dist='default'>ntpcheck.piml</target>
+<categoryname>system file</categoryname>
+<description>
+Checks server to determine status of ntpd.
 </description>
 <note>
 </note>
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.157 loncom/build/Makefile:1.158
--- loncom/build/Makefile:1.157	Tue Feb 10 17:17:13 2004
+++ loncom/build/Makefile	Wed May 19 12:05:38 2004
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.157 2004/02/10 22:17:13 www Exp $
+# $Id: Makefile,v 1.158 2004/05/19 16:05:38 matthew Exp $
 
 # TYPICAL USAGE of this Makefile is primarily for two targets:
 # "make build" and "make install".
@@ -119,6 +119,7 @@
 	@echo "         system"
 	@echo "sanitycheck: probe for common errors and recommend fixes to"
 	@echo "             the user"
+	@echo "ntpcheck: test to see if ntp is installed and running."
 	@echo "updatequery: solicit the user for machine configuration"
 	@echo "             information; to be incorporated during an update"
 	@echo "             procedure (via the UPDATE command)"
@@ -381,6 +382,11 @@
 	rm -f $(SOURCE)/tar_WARNINGS
 	make warningnote
 
+ntpcheck:
+	cat $(SOURCE)/doc/loncapafiles/ntpcheck.piml | \
+	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+	tee -a WARNINGS
+
 sanitycheck:
 	cat $(SOURCE)/doc/loncapafiles/sanitycheck.piml | \
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
@@ -420,6 +426,7 @@
 	make reseval_fixup
 	make accesscount_seed
 	make clearoutoldspreadsheetcache
+	make ntpcheck
 	make sanitycheck
 	make sendmail_fix
 	make ownership_fix