/[MITgcm]/manual/tools/generate_latest_manual.sh
ViewVC logotype

Annotation of /manual/tools/generate_latest_manual.sh

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


Revision 1.1 - (hide annotations) (download) (as text)
Tue Jan 15 10:41:49 2002 UTC (22 years, 3 months ago) by cnh
Branch: MAIN
CVS Tags: checkpoint57l_post, checkpoint01, HEAD
File MIME type: application/x-sh
Added a couple of scripts for building manual

 o generate_latest_manual.sh

   This script runs on twain under cron every few hours
   and creates http://mitgcm.org/sealion-manual-latest,
   which can be used to see what has or hasn't been done yet.

 o make_mail_subjects.sh and make_mail_subjects.awk

   These change the mailto:support@mitgcm.org links at the bottom each
   manual web page, so that the section number and title appears in
   the subject line automatically.

1 cnh 1.1 #!/bin/csh -f
2    
3     #
4     # Run this script on twain.lcs.mit.edu
5     #
6    
7     #
8     # Script checks out latest manual from CVS
9     # Builds tex, ps, pdf and html
10     # Installs html under http://mitgcm.org/sealion-manual-latest
11     #
12    
13     # Check out the manual
14     setenv CVSROOT /u/u0/gcmpack
15     cd /scratch/cnh/RELEASE1/manual/HEAD
16     \rm -fr /scratch/cnh/RELEASE1/manual/HEAD/*
17     ln -s /scratch/cnh/l2h/bin/latex2html latex2html
18     setenv LATEX2HTMLDIR /scratch/cnh/l2h
19     cvs co -d . -P mitgcmdoc
20    
21     # latex document
22     make tex
23    
24     # create postscript
25     make ps
26    
27     # create pdf
28     make pdf
29    
30     # create html
31     make html
32    
33     # install under http://mitgcm.org/sealion-manual-latest
34     cd manual
35     \rm -fr /u/u0/httpd/html/sealion-manual-latest
36     mkdir /u/u0/httpd/html/sealion-manual-latest
37     tar -cf - . | tcsh -c "cd /u/u0/httpd/html/sealion-manual-latest; tar -xf -"
38     cd /u/u0/httpd/html/sealion-manual-latest
39    
40     # change e-mail link to include section number etc...
41     cp ~cnh/make_mail_subjects* .
42     ./make_mail_subjects.sh

  ViewVC Help
Powered by ViewVC 1.1.22