--- loncom/build/Makefile.cvs 2002/04/29 19:15:41 1.5 +++ loncom/build/Makefile.cvs 2003/02/03 18:03:52 1.9 @@ -1,7 +1,6 @@ # 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.9 2003/02/03 18:03:52 harris41 Exp $ STATDIR="loncom/build/cvsstats" STATSUBDIR="cvsstats" @@ -14,6 +13,8 @@ help: @echo " LON-CAPA archiving" @echo "linesofcode: look at the number of unique lines of code since" @echo " LON-CAPA archiving" + @echo "statpage: an HTML formatted presentation of cvscommit and" + @echo " linesofcode" @echo "Information is placed inside CVS:loncom/build/cvsstats" cvsreport: @@ -21,23 +22,26 @@ cvsreport: 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 - echo "" >> ../constructdoc/devhistory/cvsreport.html + echo "" >> ../../doc/build/cvsreport.html make -f Makefile.cvs COMPONENT=loncom logentries make -f Makefile.cvs COMPONENT=CAPA logentries make -f Makefile.cvs COMPONENT=doc logentries @@ -45,11 +49,11 @@ cvsreport: logentries: # Log entries for $(COMPONENT) echo "
Log entries for $(COMPONENT):
" >>\ - ../constructdoc/devhistory/cvsreport.html - cd ../$(COMPONENT); cvs log -d ">`date --date='$(TIMEAGO) days ago' \ - +\"%Y-%m-%d\"`" . 2>/dev/null | perl ../build/cvsfilter.pl >> \ - ../constructdoc/devhistory/cvsreport.html - echo "" >> ../constructdoc/devhistory/cvsreport.html + ../../doc/build/cvsreport.html + cd ../../$(COMPONENT); cvs log -d ">`date --date='$(TIMEAGO) days ago' \ + +\"%Y-%m-%d\"`" . 2>/dev/null | perl ../loncom/build/cvsfilter.pl >> \ + ../doc/build/cvsreport.html + echo "" >> ../../doc/build/cvsreport.html statpage: install -d $(STATSUBDIR)