[LON-CAPA-cvs] cvs: loncom /build Makefile

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 09 Dec 2003 20:18:23 -0000


matthew		Tue Dec  9 15:18:23 2003 EDT

  Modified files:              
    /loncom/build	Makefile 
  Log:
  Added accesscount_seed target as part of postinstall.
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.155 loncom/build/Makefile:1.156
--- loncom/build/Makefile:1.155	Sun Aug 17 14:21:58 2003
+++ loncom/build/Makefile	Tue Dec  9 15:18:23 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.155 2003/08/17 18:21:58 albertel Exp $
+# $Id: Makefile,v 1.156 2003/12/09 20:18:23 matthew Exp $
 
 # TYPICAL USAGE of this Makefile is primarily for two targets:
 # "make build" and "make install".
@@ -390,6 +390,11 @@
 	cat $(SOURCE)/doc/loncapafiles/updatequery.piml | \
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(QUERYLAUNCH)
 
+accesscount_seed:
+	cat $(SOURCE)/doc/loncapafiles/accesscount_seed.piml | \
+	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+	tee -a WARNINGS
+
 reseval_fixup:
 	cat $(SOURCE)/doc/loncapafiles/reseval_fixup.piml | \
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
@@ -408,6 +413,7 @@
 postinstall:
 	make webserverconf
 	make reseval_fixup
+	make accesscount_seed
 	make clearoutoldspreadsheetcache
 	make sanitycheck
 	make sendmail_fix