--- loncom/build/Makefile 2002/01/06 04:32:39 1.53 +++ loncom/build/Makefile 2002/01/07 22:12:21 1.54 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Scott Harrison -# $Id: Makefile,v 1.53 2002/01/06 04:32:39 harris41 Exp $ +# $Id: Makefile,v 1.54 2002/01/07 22:12:21 harris41 Exp $ DIST="default" CATEGORY="development" @@ -29,6 +29,8 @@ help: @echo " a LON-CAPA system" @echo "HTML: generate an HTML-formatted description of the LON-CAPA" @echo " CVS files" + @echo "documentation_tree: compiles a documentation tree from the " + @echo " CVS:doc directory" @echo "status: compare the TARGET filesystem with a compiled CVS " @echo " source directory" @echo "statuspost: post the results of "make status" to " @@ -38,7 +40,6 @@ help: @echo " CVS:doc/otherfiles/rpm_list.txt" @echo "rpmstatuspost: post the results of "make rpmstatus" to " @echo " TARGET/home/httpd/html/lon-status/rpmstatus.html" - @echo "cvsreport: look at the latest changes over the last week" test: TEST_lpml_scripts TEST_system_dependencies TEST_web_layer @echo "ALL SYSTEM DEPENDENCY TESTS SUCCESSFUL" @@ -167,7 +168,7 @@ loncapaconfig: cp LON-CAPA-loncapaconfig-3.1-1.i386.rpm \ /mnt/drive/install.lon-capa.org/3.1/currentcdsource/RedHat/RPMS/. -install.lon-capa.org: cvsreport +documentation_tree: cvsreport install -d docs install ../../doc/build/cvsreport.html docs/cvsreport.html install ../../doc/build/doc.html docs/index.html @@ -207,51 +208,6 @@ install.lon-capa.org: cvsreport rm -Rf docs cvsreport: - # Header - echo "

Automatically generated CVS report

" > \ - ../../doc/build/cvsreport.html - # General Date Info - echo "

LON-CAPA Software Changes from `date --date='7 days ago' \ - +\"%Y-%m-%d\"` to `date +\"%Y-%m-%d\"`

" >> \ - ../../doc/build/cvsreport.html - # General Alteration Info - echo "

Number of altered files:" >> ../../doc/build/cvsreport.html - cd ../..; cvs log -d ">`date --date='8 days ago' +\"%Y-%m-%d\"`" \ - loncom CAPA doc packaging 2>/dev/null | perl \ - loncom/build/cvsfilter.pl | grep '^Working file:' | cut -b15- | \ - wc -l >> doc/build/cvsreport.html - # Listing of Altered Files - echo "

Altered files:

" >> \
-	../../doc/build/cvsreport.html
-	cd ../..; cvs log -d ">`date --date='8 days ago' +\"%Y-%m-%d\"`" \
-	loncom CAPA doc packaging 2>/dev/null | \
-	perl loncom/build/cvsfilter.pl | grep '^Working file:' | cut -b15- \
-	>> doc/build/cvsreport.html
-	# Log entries for loncom
-	echo "

Log entries for loncom:

" >> \
-	../../doc/build/cvsreport.html
-	cd ../../loncom; cvs log -d ">`date --date='8 days ago' \
-	+\"%Y-%m-%d\"`" . 2>/dev/null | perl ../loncom/build/cvsfilter.pl >> \
-	../doc/build/cvsreport.html
-	# Log entries for CAPA
-	echo "

Log entries for CAPA:

" >> \
-	../../doc/build/cvsreport.html
-	cd ../../CAPA; cvs log -d ">`date --date='8 days ago' \
-	+\"%Y-%m-%d\"`" . 2>/dev/null | perl ../loncom/build/cvsfilter.pl >> \
-	../doc/build/cvsreport.html
-	# Log entries for doc
-	echo "

Log entries for doc:

" >> \
-	../../doc/build/cvsreport.html
-	cd ../../doc; cvs log -d ">`date --date='8 days ago' \
-	+\"%Y-%m-%d\"`" . 2>/dev/null | perl ../loncom/build/cvsfilter.pl >> \
-	../doc/build/cvsreport.html
-	# Log entries for packaging
-	echo "

Log entries for packaging:

" >> \
-	../../doc/build/cvsreport.html
-	cd ../../packaging; cvs log -d ">`date --date='8 days ago' \
-	+\"%Y-%m-%d\"`" . 2>/dev/null | perl ../loncom/build/cvsfilter.pl >> \
-	../doc/build/cvsreport.html
-	echo "

" >> ../../doc/build/cvsreport.html clean: rm -Rf HTML