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

harris41 lon-capa-cvs@mail.lon-capa.org
Wed, 22 May 2002 20:20:41 -0000


harris41		Wed May 22 16:20:41 2002 EDT

  Modified files:              
    /loncom/build	Makefile 
  Log:
  creating a 'rawinstall' target and remove testing for hosts.tab during
  initial filesystem UPDATE from tarball
  
  
Index: loncom/build/Makefile
diff -u loncom/build/Makefile:1.112 loncom/build/Makefile:1.113
--- loncom/build/Makefile:1.112	Wed May 22 15:39:58 2002
+++ loncom/build/Makefile	Wed May 22 16:20:41 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 
 # Scott Harrison
-# $Id: Makefile,v 1.112 2002/05/22 19:39:58 harris41 Exp $
+# $Id: Makefile,v 1.113 2002/05/22 20:20:41 harris41 Exp $
 
 DISTPROBE=`perl ./distprobe`
 DIST=$(DISTPROBE)
@@ -225,6 +225,15 @@
 	make warningnote
 	echo "You can run 'make test' to see if your system is ready to go!"
 
+rawinstall: Makefile.install Makefile
+	echo -n "" > WARNINGS
+	make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" \
+	directories
+	make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" files
+	make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" links
+	make SOURCE="$(SOURCE)" TARGET="$(TARGET)" \
+	NORESTORECONF="$(NORESTORECONF)" configinstall
+
 Makefile.install: $(SOURCE)/doc/loncapafiles/loncapafiles.lpml lpml_parse.pl
 	cat $(SOURCE)/doc/loncapafiles/loncapafiles.lpml | \
 	perl lpml_parse.pl install $(CATEGORY) $(DIST) "$(SOURCE)" \
@@ -439,9 +448,11 @@
 	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 install' >> $(SOURCE)/UPDATE
+	echo 'make rawinstall' >> $(SOURCE)/UPDATE
 	echo 'make updatequery' >> $(SOURCE)/UPDATE
 	echo 'make hosts_tab' >> $(SOURCE)/UPDATE
+	echo 'make postinstall' >> $(SOURCE)/UPDATE
+	echo 'make warningnote' >> $(SOURCE)/UPDATE
 	# ----------------------------- Point TEST to the internal make process
 	echo '#!/bin/sh' > $(SOURCE)/TEST
 	echo 'cd loncom/build; make test' >> $(SOURCE)/TEST