/[MITgcm]/mitgcm.org/devel/buildweb/Makefile
ViewVC logotype

Annotation of /mitgcm.org/devel/buildweb/Makefile

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


Revision 1.2 - (hide annotations) (download)
Mon Oct 21 15:56:58 2002 UTC (18 years, 9 months ago) by cnh
Branch: MAIN
Changes since 1.1: +1 -1 lines
Added configure option homedir

1 adcroft 1.1 # Paths
2    
3     TARGETDIR = /u/httpd/html/devel/sealion
4     BUILDWEBDIR = $(PWD)
5    
6     SKELETON = $(BUILDWEBDIR)/skeleton
7     LATEXROOT = $(BUILDWEBDIR)/latex
8     VDBROOT = $(BUILDWEBDIR)/vdb
9     BINDIR = $(BUILDWEBDIR)/bin
10     PFILESDIR = $(BUILDWEBDIR)/program_files
11    
12     all: Templates InstallSkeleton Search2 Bonniefy
13     All: Latex VDB all
14    
15     Templates:
16     cd templates; make
17    
18     InstallSkeleton:
19     rm -rf $(TARGETDIR)
20     cp -rp $(SKELETON) $(TARGETDIR)
21     cp -rp $(LATEXROOT)/manual/* $(TARGETDIR)/online_documents/
22     cp -rp $(LATEXROOT)/on-line-figs/* $(TARGETDIR)/on-line-figs/
23     cp -rp $(VDBROOT) $(TARGETDIR)/code_reference/
24    
25     Bonniefy: $(TARGETDIR)
26 cnh 1.2 $(BINDIR)/bonniefy.pl --targetdir=$(TARGETDIR) --homedir=$(HOMEDIR)
27 adcroft 1.1
28     Search:
29     cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf
30    
31     Search2:
32     cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf \
33     -S prog -i $(BINDIR)/DirTree.pl
34    
35     Latex: latex
36     cd latex; make html
37    
38     VDB:
39     cd code-browser; source README
40    
41     Clean:
42     cd templates; make clean
43     cd latex; make Clean
44    
45     TestSearch:
46     $(BINDIR)/swish-e -f $(TARGETDIR)/index.swish-e -w adcroft
47    
48     latex:
49     cvs co -d latex manual -d -P

  ViewVC Help
Powered by ViewVC 1.1.22