/[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.9 - (show annotations) (download)
Wed Jun 28 05:19:13 2006 UTC (14 years, 11 months ago) by edhill
Branch: MAIN
Changes since 1.8: +7 -2 lines
fix syntax so that things build correctly on FC5

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

  ViewVC Help
Powered by ViewVC 1.1.22