--- loncom/build/Makefile 2002/06/08 15:02:08 1.120 +++ loncom/build/Makefile 2002/06/12 15:53:46 1.121 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Scott Harrison -# $Id: Makefile,v 1.120 2002/06/08 15:02:08 albertel Exp $ +# $Id: Makefile,v 1.121 2002/06/12 15:53:46 harris41 Exp $ DISTPROBE=`perl ./distprobe` DIST=$(DISTPROBE) @@ -217,7 +217,12 @@ NET_rawinstall: make TIMESTAMP=`date +"%s"` METAMTARGET="TRANSPORT" \ MTARGET="rawinstall" HOSTNAME="$(HOSTNAME)" lpmladm -install: TEST_hosts_tab Makefile.install Makefile +VERSION: + install -d $(TARGET)/etc + echo -n "LON-CAPA release $(VERSION)-" > $(TARGET)/etc/loncapa-release + `date +"%Y%m%d"` >> $(TARGET)/etc/loncapa-release + +install: VERSION TEST_hosts_tab Makefile.install Makefile echo -n "" > WARNINGS make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" \ directories @@ -233,7 +238,7 @@ install: TEST_hosts_tab Makefile.install echo -n "(YOU MAY NEED TO REINITIALIZE YOUR MYSQL www\@localhost USER)" echo -n "Please see http://install.lon-capa.org/ for more information" -rawinstall: Makefile.install Makefile +rawinstall: VERSION Makefile.install Makefile echo -n "" > WARNINGS make -f Makefile.install SOURCE="$(SOURCE)" TARGET="$(TARGET)" \ directories