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

raeburn raeburn@source.lon-capa.org
Fri, 13 Aug 2010 00:12:44 -0000


raeburn		Fri Aug 13 00:12:44 2010 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom/build	Makefile 
  Log:
  - Backport 1.191
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.190.8.1 loncom/build/Makefile:1.190.8.2
--- loncom/build/Makefile:1.190.8.1	Mon Mar 22 21:52:57 2010
+++ loncom/build/Makefile	Fri Aug 13 00:12:44 2010
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.190.8.1 2010/03/22 21:52:57 raeburn Exp $
+# $Id: Makefile,v 1.190.8.2 2010/08/13 00:12:44 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