/[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.7 - (show annotations) (download)
Fri Aug 1 18:11:30 2003 UTC (17 years, 10 months ago) by edhill
Branch: MAIN
Changes since 1.6: +3 -1 lines
cleanup some makefile ugliness

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 rm -rf $(TARGETDIR)
24 cp -rp $(SKELETON) $(TARGETDIR)
25 chmod -R u+w $(TARGETDIR)
26
27 InstallLatex:
28 cp -rp $(LATEXROOT)/manual/* $(TARGETDIR)/online_documents/
29
30 InstallPDF:
31 cp -p $(LATEXROOT)/manual.p* $(TARGETDIR)/online_documents/
32
33 InstallOLF:
34 cp -rp $(LATEXROOT)/on-line-figs/* $(TARGETDIR)/on-line-figs/
35
36 InstallVDB:
37 cp -rp $(VDBROOT) $(TARGETDIR)/code_reference/
38
39 Bonniefy: $(TARGETDIR)
40 chmod -R u+w $(TARGETDIR)
41 $(BINDIR)/bonniefy.pl --targetdir=$(TARGETDIR) --homedir=$(BUILDWEBDIR)
42
43 Index: $(TARGETDIR)/home_page/frontpage.html
44 cat $(TARGETDIR)/home_page/frontpage.html \
45 | sed 's:\.\./::' > $(TARGETDIR)/index.html
46
47 SiteMap:
48 echo $(SHELL)
49 cd $(TARGETDIR)/sitemap; $(BUILDWEBDIR)/bin/makesitemap ../online_documents > index.html
50
51 Search:
52 # cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf
53 Search2:
54 # cd $(TARGETDIR); $(BINDIR)/swish-e -c $(PFILESDIR)/Swish-e.conf \
55 # -S prog -i $(BINDIR)/DirTree.pl
56
57 Latex:
58 cd $(LATEXROOT); make html
59
60 pdf:
61 cd $(LATEXROOT); make ps pdf ps.gz
62
63 #eh3 VDB:
64 #eh3 cd code-browser; source README
65 VDB:
66 cd code-browser; make dev
67
68 Clean:
69 cd templates; make clean
70 cd $(LATEXROOT); make Clean
71
72 TestSearch:
73 $(BINDIR)/swish-e -f $(TARGETDIR)/index.swish-e -w adcroft
74
75 #eh3 cvs co -d latex manual -d -P
76 #eh3 latex:
77 #eh3 cd $(LATEXROOT); cvs up

  ViewVC Help
Powered by ViewVC 1.1.22