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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Sat, 05 Apr 2008 00:15:13 -0000


raeburn		Fri Apr  4 20:15:13 2008 EDT

  Modified files:              
    /loncom/build	Makefile 
  Log:
  - utf8 support for LaTeX in RHEL4.
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.185 loncom/build/Makefile:1.186
--- loncom/build/Makefile:1.185	Mon Oct 22 18:05:33 2007
+++ loncom/build/Makefile	Fri Apr  4 20:15:10 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.185 2007/10/22 22:05:33 albertel Exp $
+# $Id: Makefile,v 1.186 2008/04/05 00:15:10 raeburn Exp $
 
 # TYPICAL USAGE of this Makefile is primarily for two targets:
 # "make build" and "make install".
@@ -133,6 +133,7 @@
 	@echo "chkconfig: test runlevels of httpd and loncontrol."
 	@echo "rpmcheck: test to see if rpms known to confict are installed."
 	@echo "wrap_setuid: put a C wrapper around setuid scripts."
+        @echo "latex_fixup: regenerate ls-R database for the latex base."
 	@echo "updatequery: solicit the user for machine configuration"
 	@echo "             information; to be incorporated during an update"
 	@echo "             procedure (via the UPDATE command)"
@@ -479,6 +480,11 @@
 	perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
 	tee -a WARNINGS
 
+latex_fixup:
+	cat $(SOURCE)/doc/loncapafiles/latex_fixup.piml | \
+        perl piml_parse.pl $(CATEGORY) $(DIST) "$(TARGET)" $(LAUNCH) | \
+        tee -a WARNINGS
+
 postinstall:
 	make webserverconf
 	make reseval_fixup
@@ -497,7 +503,7 @@
 	make sendmail_fix
 	make ownership_fix
 	make wrap_setuid
-
+	make latex_fixup
 VERSION:
 	install -d $(TARGET)/etc
 	echo -n "LON-CAPA release $(VERSION)-" > $(TARGET)/etc/loncapa-release