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