--- loncom/build/Makefile 2002/06/08 15:02:08 1.120 +++ loncom/build/Makefile 2002/06/17 05:51:00 1.122 @@ -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.122 2002/06/17 05:51:00 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 @@ -375,7 +380,7 @@ pdfdoc: TEST_html2ps # mpage -P- -1 -H [^C]* > ../../../loncom/build/pdfdoc/confexamples.ps install -d pdfdoc/confexamples cd $(SOURCE)/doc/build/confexamples; \ - find . -type f | cut -b3- | grep -v '^C' | perl -nle \ + find . -type f | cut -b3- | grep -v '^C' | grep -v 'keyword' | perl -nle \ '`mpage -P- -1 -H $$_ > ../../../loncom/build/pdfdoc/confexamples/$$_.ps`;' echo '' > pdfdoc/contents.txt echo '' >> pdfdoc/contents.txt