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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 03 Jan 2006 20:00:21 -0000


albertel		Tue Jan  3 15:00:21 2006 EDT

  Added files:                 
    /loncom	UPDATE 

  Modified files:              
    /loncom/build	Makefile 
  Log:
  - wrapping UPDATE script in perl
  - UPDATE checks return codes on each make statement for checking that it worked
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.179 loncom/build/Makefile:1.180
--- loncom/build/Makefile:1.179	Mon Dec  5 23:08:51 2005
+++ loncom/build/Makefile	Tue Jan  3 15:00:21 2006
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 
-# $Id: Makefile,v 1.179 2005/12/06 04:08:51 albertel Exp $
+# $Id: Makefile,v 1.180 2006/01/03 20:00:21 albertel Exp $
 
 # TYPICAL USAGE of this Makefile is primarily for two targets:
 # "make build" and "make install".
@@ -344,18 +344,7 @@
 # ---------------- Top-level files such as README, UPDATE, CHECKRPMS, and TEST
 vanillatar:
 	# --------------------------- Point UPDATE to the internal make process
-	echo '#!/bin/sh' > $(SOURCE)/UPDATE
-	echo 'touch loncom/build/WARNINGS' >> $(SOURCE)/UPDATE;
-	echo 'ln -s loncom/build/WARNINGS WARNINGS' >> $(SOURCE)/UPDATE;
-	echo 'cd loncom/build; make build' >> $(SOURCE)/UPDATE
-	echo 'make rawinstall' >> $(SOURCE)/UPDATE
-	echo 'make configinstall' >> $(SOURCE)/UPDATE
-	echo 'make updatequery' >> $(SOURCE)/UPDATE
-	echo 'make hosts_and_domain_tab' >> $(SOURCE)/UPDATE
-	echo 'make postinstall' >> $(SOURCE)/UPDATE
-	echo 'make run_searchcat' >> $(SOURCE)/UPDATE
-	echo 'make aboutVERSION' >> $(SOURCE)/UPDATE
-	echo 'make warningnote' >> $(SOURCE)/UPDATE
+	cp  $(SOURCE)/loncom/UPDATE $(SOURCE)/UPDATE
 	# ----------------------------- Point TEST to the internal make process
 	echo '#!/bin/sh' > $(SOURCE)/TEST
 	echo 'cd loncom/build; make test' >> $(SOURCE)/TEST