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

raeburn lon-capa-cvs-allow@mail.lon-capa.org
Sat, 05 Apr 2008 01:55:02 -0000


raeburn		Fri Apr  4 21:55:02 2008 EDT

  Modified files:              (Branch: version_2_6_X)
    /loncom/build	Makefile 
  Log:
  - backport 1.186
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.185.2.6 loncom/build/Makefile:1.185.2.7
--- loncom/build/Makefile:1.185.2.6	Mon Mar 24 08:13:27 2008
+++ loncom/build/Makefile	Fri Apr  4 21:55:01 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.185.2.6 2008/03/24 12:13:27 raeburn Exp $
+# $Id: Makefile,v 1.185.2.7 2008/04/05 01:55:01 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,6 +503,7 @@
 	make sendmail_fix
 	make ownership_fix
 	make wrap_setuid
+	make latex_fixup
 
 VERSION:
 	install -d $(TARGET)/etc