--- loncom/build/Makefile.cvs 2002/04/29 19:15:41 1.5 +++ loncom/build/Makefile.cvs 2002/04/29 19:19:08 1.6 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Scott Harrison -# $Id: Makefile.cvs,v 1.5 2002/04/29 19:15:41 harris41 Exp $ +# $Id: Makefile.cvs,v 1.6 2002/04/29 19:19:08 harris41 Exp $ STATDIR="loncom/build/cvsstats" STATSUBDIR="cvsstats" @@ -21,19 +21,22 @@ cvsreport: echo "

Automatically generated CVS report

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

LON-CAPA Software Changes from `date --date='7 days ago' \ + echo "

LON-CAPA Software Changes from \ + `date --date='$(TIMEAGO) 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\"`" \ + cd ../..; cvs log \ + -d ">`date --date='$(TIMEAGO) days ago' +\"%Y-%m-%d\"`" \ loncom CAPA doc 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\"`" \
+	cd ../..; cvs log \
+	-d ">`date --date='$(TIMEAGO) days ago' +\"%Y-%m-%d\"`" \
 	loncom CAPA doc 2>/dev/null | \
 	perl loncom/build/cvsfilter.pl | grep '^Working file:' | cut -b15- \
 	>> doc/build/cvsreport.html