--- loncom/build/Makefile.cvs 2002/04/27 17:37:40 1.4 +++ loncom/build/Makefile.cvs 2002/04/29 19:15:41 1.5 @@ -1,10 +1,11 @@ # The LearningOnline Network with CAPA # Scott Harrison -# $Id: Makefile.cvs,v 1.4 2002/04/27 17:37:40 harris41 Exp $ +# $Id: Makefile.cvs,v 1.5 2002/04/29 19:15:41 harris41 Exp $ STATDIR="loncom/build/cvsstats" STATSUBDIR="cvsstats" +TIMEAGO=7 help: @echo "*** You need to specify a valid target ***" @@ -36,25 +37,19 @@ cvsreport: loncom CAPA doc 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 - echo "" >> ../../doc/build/cvsreport.html + echo "" >> ../constructdoc/devhistory/cvsreport.html + make -f Makefile.cvs COMPONENT=loncom logentries + make -f Makefile.cvs COMPONENT=CAPA logentries + make -f Makefile.cvs COMPONENT=doc logentries + +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 statpage: install -d $(STATSUBDIR)