/[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.8 - (hide annotations) (download)
Tue Aug 5 21:56:37 2003 UTC (20 years, 8 months ago) by edhill
Branch: MAIN
Changes since 1.7: +0 -5 lines
add create_name_links to the manual build process

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

  ViewVC Help
Powered by ViewVC 1.1.22