Diff for /loncom/build/Makefile.cvs between versions 1.2 and 1.6

version 1.2, 2002/01/08 00:01:22 version 1.6, 2002/04/29 19:19:08
Line 5 Line 5
   
 STATDIR="loncom/build/cvsstats"  STATDIR="loncom/build/cvsstats"
 STATSUBDIR="cvsstats"  STATSUBDIR="cvsstats"
   TIMEAGO=7
   
 help:  help:
  @echo "*** You need to specify a valid target ***"   @echo "*** You need to specify a valid target ***"
Line 20  cvsreport: Line 21  cvsreport:
  echo "<h1>Automatically generated CVS report</h1>" > \   echo "<h1>Automatically generated CVS report</h1>" > \
  ../../doc/build/cvsreport.html   ../../doc/build/cvsreport.html
  # General Date Info   # General Date Info
  echo "<h1>LON-CAPA Software Changes from `date --date='7 days ago' \   echo "<h1>LON-CAPA Software Changes from \
    `date --date='$(TIMEAGO) days ago' \
  +\"%Y-%m-%d\"` to `date +\"%Y-%m-%d\"`</h1>" >> \   +\"%Y-%m-%d\"` to `date +\"%Y-%m-%d\"`</h1>" >> \
  ../../doc/build/cvsreport.html   ../../doc/build/cvsreport.html
  # General Alteration Info   # General Alteration Info
  echo "<p>Number of altered files:" >> ../../doc/build/cvsreport.html   echo "<p>Number of altered files:" >> ../../doc/build/cvsreport.html
  cd ../..; cvs log -d ">`date --date='8 days ago' +\"%Y-%m-%d\"`" \   cd ../..; cvs log \
  loncom CAPA doc packaging 2>/dev/null | perl \   -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- | \   loncom/build/cvsfilter.pl | grep '^Working file:' | cut -b15- | \
  wc -l >> doc/build/cvsreport.html   wc -l >> doc/build/cvsreport.html
  # Listing of Altered Files   # Listing of Altered Files
  echo "</p><p>Altered files:</p><p><pre>" >> \   echo "</p><p>Altered files:</p><p><pre>" >> \
  ../../doc/build/cvsreport.html   ../../doc/build/cvsreport.html
  cd ../..; cvs log -d ">`date --date='8 days ago' +\"%Y-%m-%d\"`" \   cd ../..; cvs log \
  loncom CAPA doc packaging 2>/dev/null | \   -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- \   perl loncom/build/cvsfilter.pl | grep '^Working file:' | cut -b15- \
  >> doc/build/cvsreport.html   >> doc/build/cvsreport.html
  # Log entries for loncom   echo "</pre></p>" >> ../constructdoc/devhistory/cvsreport.html
  echo "</pre></p><p>Log entries for <b>loncom</b>:</p><pre>" >> \   make -f Makefile.cvs COMPONENT=loncom logentries
  ../../doc/build/cvsreport.html   make -f Makefile.cvs COMPONENT=CAPA logentries
  cd ../../loncom; cvs log -d ">`date --date='8 days ago' \   make -f Makefile.cvs COMPONENT=doc logentries
  +\"%Y-%m-%d\"`" . 2>/dev/null | perl ../loncom/build/cvsfilter.pl >> \  
  ../doc/build/cvsreport.html  logentries:
  # Log entries for CAPA   # Log entries for $(COMPONENT)
  echo "</pre></p><p>Log entries for <b>CAPA</b>:</p><pre>" >> \   echo "<p>Log entries for <b>$(COMPONENT)</b>:</p><pre>" >>\
  ../../doc/build/cvsreport.html   ../constructdoc/devhistory/cvsreport.html
  cd ../../CAPA; cvs log -d ">`date --date='8 days ago' \   cd ../$(COMPONENT); cvs log -d ">`date --date='$(TIMEAGO) days ago' \
  +\"%Y-%m-%d\"`" . 2>/dev/null | perl ../loncom/build/cvsfilter.pl >> \   +\"%Y-%m-%d\"`" . 2>/dev/null | perl ../build/cvsfilter.pl >> \
  ../doc/build/cvsreport.html   ../constructdoc/devhistory/cvsreport.html
  # Log entries for doc   echo "</pre></p>" >> ../constructdoc/devhistory/cvsreport.html
  echo "</pre></p><p>Log entries for <b>doc</b>:</p><pre>" >> \  
  ../../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 "</pre></p><p>Log entries for <b>packaging</b>:</p><pre>" >> \  
  ../../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 "</pre></p>" >> ../../doc/build/cvsreport.html  
   
 statpage:  statpage:
  install -d cvsstats   install -d $(STATSUBDIR)
  echo '<html><title>LON-CAPA Coding Metrics</title>' > $(STATSUBDIR)/index.html   echo '<html><title>LON-CAPA Coding Metrics</title>' > $(STATSUBDIR)/index.html
  echo '<body bgcolor="#ffffff">' >> $(STATSUBDIR)/index.html   echo '<body bgcolor="#ffffff">' >> $(STATSUBDIR)/index.html
  echo '<h1>LON-CAPA Coding Metrics</h1>' >> $(STATSUBDIR)/index.html   echo '<h1>LON-CAPA Coding Metrics</h1>' >> $(STATSUBDIR)/index.html

Removed from v.1.2  
changed lines
  Added in v.1.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>