| 1 |
# To generate browseable code for the manual |
| 2 |
# Assuming starting in directory "buildweb/code-browser" |
| 3 |
# |
| 4 |
# Generating the browsable code involves several stages |
| 5 |
# 1. particular revision is checked out from cvs |
| 6 |
# 2. definition comments are extracted |
| 7 |
# 3. hyperlinked form of code is generated |
| 8 |
# 4. hyperlinked form of call tree is generated ( call tree is currently static |
| 9 |
# and in file MakeBrowseableMITGCM/callTree.F and MakeBrowseableMITGCM/callTree.header ) |
| 10 |
# Really it should be extracted fom the checked out code. |
| 11 |
# 5. Stuff for web manual is put in tar file (web.tgz) and then unpacked into |
| 12 |
# correct place in buildweb tree. |
| 13 |
# |
| 14 |
# These steps are carried out by the commands below. |
| 15 |
# |
| 16 |
# To execute the commands simply "source" this file from the |
| 17 |
# directory buildweb/code-browser. |
| 18 |
# |
| 19 |
# Note - 'release1_p5' is specified below this could be taken from an environment variable. |
| 20 |
# |
| 21 |
( cd MakeBrowseableMITGCM; ./makebrowseablecodepages.sh release1_p5; cp work/web.tgz ..; \rm -f work ) |
| 22 |
( cd ..; tar -xzf code-browser/web.tgz; \rm code-browser/web.tgz) |