[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /build Makefile

raeburn raeburn@source.lon-capa.org
Thu, 18 Dec 2008 22:59:32 -0000


raeburn		Thu Dec 18 22:59:32 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/build	Makefile 
  Log:
  - Backport 1.189.
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.188.2.1 loncom/build/Makefile:1.188.2.2
--- loncom/build/Makefile:1.188.2.1	Wed Dec 10 16:11:36 2008
+++ loncom/build/Makefile	Thu Dec 18 22:59:32 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.188.2.1 2008/12/10 16:11:36 raeburn Exp $
+# $Id: Makefile,v 1.188.2.2 2008/12/18 22:59:32 raeburn Exp $
 
 # TYPICAL USAGE of this Makefile is primarily for two targets:
 # "make build" and "make install".
@@ -136,6 +136,8 @@
         @echo "latex_fixup: regenerate ls-R database for the latex base."
 	@echo "picins_check: check for picins.sty, retrieve and rebuild"
 	@echo "             filename databases used by LaTeX"
+	@echo "mimetex_version_check: check if mimetex.cgi version has changed,"
+	@echo "                      if so remove files from mimetexcache."
 	@echo "updatequery: solicit the user for machine configuration"
 	@echo "             information; to be incorporated during an update"
 	@echo "             procedure (via the UPDATE command)"
@@ -492,6 +494,11 @@
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
 	tee -a WARNINGS
 
+mimetex_version_check:
+	cat $(SOURCE)/doc/loncapafiles/mimetex_version_check.piml | \
+	perl piml_parse.pl  $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+	tee -a WARNINGS
+
 postinstall:
 	make webserverconf
 	make reseval_fixup
@@ -512,6 +519,7 @@
 	make wrap_setuid
 	make latex_fixup
 	make picins_check
+	make mimetex_version_check
 VERSION:
 	install -d $(TARGET)/etc
 	echo -n "LON-CAPA release $(VERSION)-" > $(TARGET)/etc/loncapa-release