/[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.3 - (hide annotations) (download)
Mon Oct 21 16:01:35 2002 UTC (18 years, 9 months ago) by adcroft
Branch: MAIN
Changes since 1.2: +5 -1 lines
Added new target, "Index", to generate the *true* front page that avoids
the forwarding method.

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 adcroft 1.3 all: Templates InstallSkeleton Search2 Bonniefy Index
13 adcroft 1.1 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.3
28     Index: $(TARGETDIR)/home_page/frontpage.html
29     cat $(TARGETDIR)/home_page/frontpage.html \
30     | sed 's:\.\./::' > $(TARGETDIR)/index.html
31 adcroft 1.1
32     Search:
33     cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf
34    
35     Search2:
36     cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf \
37     -S prog -i $(BINDIR)/DirTree.pl
38    
39     Latex: latex
40     cd latex; make html
41    
42     VDB:
43     cd code-browser; source README
44    
45     Clean:
46     cd templates; make clean
47     cd latex; make Clean
48    
49     TestSearch:
50     $(BINDIR)/swish-e -f $(TARGETDIR)/index.swish-e -w adcroft
51    
52     latex:
53     cvs co -d latex manual -d -P

  ViewVC Help
Powered by ViewVC 1.1.22