/[MITgcm]/mitgcm.org/devel/buildweb/code-browser/MakeBrowseableMITGCM/makebrowseablecodepages.sh
ViewVC logotype

Diff of /mitgcm.org/devel/buildweb/code-browser/MakeBrowseableMITGCM/makebrowseablecodepages.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.3 by edhill, Fri Aug 1 18:17:59 2003 UTC revision 1.4 by edhill, Tue Aug 5 21:56:37 2003 UTC
# Line 10  echo 'Parsing code' Line 10  echo 'Parsing code'
10    
11  \rm -f $SRCDIR  \rm -f $SRCDIR
12    
 # A simple example  
 #mkdir -p $SRCDIR  
 #cd  $SRCDIR  
 #cp -pr ${CURDIR}/model .  
 #cp -pr ${CURDIR}/pkg   .  
 #cp -pr ${CURDIR}/callTree.F .  
 #cp -pr ${CURDIR}/callTree.header .  
   
13  # Applying it to the whole code ( first -d will only work on local 18.24.3 system )  # Applying it to the whole code ( first -d will only work on local 18.24.3 system )
14  #eh3  Replace CVS checkout with a soft-link  #eh3  Replace CVS checkout with a soft-link
15  #eh3 cvs -d /u/gcmpack co -d $SRCDIR -P -r $1 MITgcm > checkout.log  #eh3 cvs -d /u/gcmpack co -d $SRCDIR -P -r $1 MITgcm > checkout.log
# Line 27  else Line 19  else
19    echo "ERROR:  please get a copy of the MITgcm code and locate it at:"    echo "ERROR:  please get a copy of the MITgcm code and locate it at:"
20    echo "        "`pwd`"../../../../../MITgcm"    echo "        "`pwd`"../../../../../MITgcm"
21  endif  endif
 #eh3  
22  cp -fpr callTree.F $SRCDIR  cp -fpr callTree.F $SRCDIR
23  cp -fpr callTree.header $SRCDIR  cp -fpr callTree.header $SRCDIR
24  cd $SRCDIR  cd $SRCDIR
# Line 45  echo "o Generating hyperlinked code (thi Line 36  echo "o Generating hyperlinked code (thi
36  ( cd ${CURDIR}/../F90Mapper; make )  ( cd ${CURDIR}/../F90Mapper; make )
37  ${CURDIR}/../F90Mapper/f90mapper -d thedefs $fl $hl >& mapper.log  ${CURDIR}/../F90Mapper/f90mapper -d thedefs $fl $hl >& mapper.log
38    
 #cnh debugging  
 #cnh exit  
   
39  # Make the calling tree hyperlinked  # Make the calling tree hyperlinked
40  # callTree.F was hand-extracted from model/src/the_model_main.F  # callTree.F was hand-extracted from model/src/the_model_main.F
41  echo "o Generating hyperlinked call tree"  echo "o Generating hyperlinked call tree"
# Line 70  mv vdb buildweb/vdb Line 58  mv vdb buildweb/vdb
58  #eh3  Create a "byname" directory containing soft-links that tie the symbol  #eh3  Create a "byname" directory containing soft-links that tie the symbol
59  #eh3  names to the short-URL occurance tables:  #eh3  names to the short-URL occurance tables:
60  #eh3  makeByname.pl <  #eh3  makeByname.pl <
61    ( cd buildweb ;  ${CURDIR}/create_name_links )
62    
63  # Tar up buildweb part  # Tar up buildweb part
64  ( cd  buildweb ; rm vdb/tmp1; rm vdb/tmp2; tar -czvf ../web.tgz . >& /dev/null )  ( cd  buildweb ; rm vdb/tmp1; rm vdb/tmp2; tar -czvf ../web.tgz . >& /dev/null )

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22