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

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

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


Revision 1.4 - (show annotations) (download)
Wed Nov 20 14:07:41 2002 UTC (18 years, 7 months ago) by adcroft
Branch: MAIN
Changes since 1.3: +21 -3 lines
Added site index script.

1 # Paths
2
3 SHELL = /bin/bash
4 TARGETDIR = /u/httpd/html/devel/sealion
5 BUILDWEBDIR = $(PWD)
6
7 SKELETON = $(BUILDWEBDIR)/skeleton
8 LATEXROOT = $(BUILDWEBDIR)/latex
9 VDBROOT = $(BUILDWEBDIR)/vdb
10 BINDIR = $(BUILDWEBDIR)/bin
11 PFILESDIR = $(BUILDWEBDIR)/program_files
12
13 all: Templates InstallSkeleton InstallLatex InstallPDF InstallOLF InstallVDB SiteMap Search2 Bonniefy Index
14 All: pdf Latex VDB all
15 quick: Templates InstallSkeleton InstallLatex InstallPDF SiteMap Search2 Bonniefy Index
16
17 Templates:
18 cd templates; make
19
20 InstallSkeleton:
21 rm -rf $(TARGETDIR)
22 cp -rp $(SKELETON) $(TARGETDIR)
23
24 InstallLatex:
25 cp -rp $(LATEXROOT)/manual/* $(TARGETDIR)/online_documents/
26
27 InstallPDF:
28 cp -p $(LATEXROOT)/manual.p* $(TARGETDIR)/online_documents/
29
30 InstallOLF:
31 cp -rp $(LATEXROOT)/on-line-figs/* $(TARGETDIR)/on-line-figs/
32
33 InstallVDB:
34 cp -rp $(VDBROOT) $(TARGETDIR)/code_reference/
35
36 Bonniefy: $(TARGETDIR)
37 $(BINDIR)/bonniefy.pl --targetdir=$(TARGETDIR) --homedir=$(HOMEDIR)
38
39 Index: $(TARGETDIR)/home_page/frontpage.html
40 cat $(TARGETDIR)/home_page/frontpage.html \
41 | sed 's:\.\./::' > $(TARGETDIR)/index.html
42
43 SiteMap:
44 echo $(SHELL)
45 cd $(TARGETDIR)/sitemap; ../../buildweb/bin/makesitemap ../online_documents > index.html
46
47 Search:
48 cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf
49
50 Search2:
51 cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf \
52 -S prog -i $(BINDIR)/DirTree.pl
53
54 Latex: latex
55 cd $(LATEXROOT); make html
56
57 pdf:
58 cd $(LATEXROOT); make ps pdf ps.gz
59
60 VDB:
61 cd code-browser; source README
62
63 Clean:
64 cd templates; make clean
65 cd latex; make Clean
66
67 TestSearch:
68 $(BINDIR)/swish-e -f $(TARGETDIR)/index.swish-e -w adcroft
69
70 latex:
71 cvs co -d latex manual -d -P

  ViewVC Help
Powered by ViewVC 1.1.22