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

raeburn raeburn@source.lon-capa.org
Wed, 14 Apr 2010 19:16:24 -0000


raeburn		Wed Apr 14 19:16:24 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/build	Makefile 
  Log:
  - Backport 1.191.
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.189.4.3 loncom/build/Makefile:1.189.4.4
--- loncom/build/Makefile:1.189.4.3	Wed Apr 14 07:54:19 2010
+++ loncom/build/Makefile	Wed Apr 14 19:16:24 2010
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.189.4.3 2010/04/14 07:54:19 raeburn Exp $
+# $Id: Makefile,v 1.189.4.4 2010/04/14 19:16:24 raeburn Exp $
 
 # TYPICAL USAGE of this Makefile is primarily for two targets:
 # "make build" and "make install".
@@ -138,6 +138,7 @@
 	@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 "latex_fmtutil: run utility to maintain TeX format files system-wide."
 	@echo "updatequery: solicit the user for machine configuration"
 	@echo "             information; to be incorporated during an update"
 	@echo "             procedure (via the UPDATE command)"
@@ -504,6 +505,11 @@
 	perl piml_parse.pl  $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
 	tee -a WARNINGS
 
+latex_fmtutil:
+	cat $(SOURCE)/doc/loncapafiles/latex_fmtutil.piml | \
+	perl piml_parse.pl  $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+	tee -a WARNINGS
+
 postinstall:
 	make webserverconf
 	make reseval_fixup
@@ -526,6 +532,7 @@
 	make picins_check
 	make mimetex_version_check
 	make verify_domconfiguser
+	make latex_fmtutil
 VERSION:
 	install -d $(TARGET)/etc
 	echo -n "LON-CAPA release $(VERSION)-" > $(TARGET)/etc/loncapa-release