1 |
cnh |
1.5 |
default: |
2 |
|
|
@echo "Targets" |
3 |
|
|
@echo " make all - just the tex " |
4 |
|
|
@echo " make tex - tex and bibliograohy" |
5 |
|
|
@echo " make ps - postscript form of manual" |
6 |
|
|
@echo " make pdf - pdf form of manual" |
7 |
|
|
@echo " make html - hypertext form of manual" |
8 |
adcroft |
1.2 |
all: |
9 |
cnh |
1.1 |
make tex |
10 |
|
|
|
11 |
|
|
tex: |
12 |
|
|
latex manual |
13 |
adcroft |
1.2 |
bibtex manual |
14 |
cnh |
1.1 |
latex manual |
15 |
adcroft |
1.4 |
latex manual | tee warnings |
16 |
adcroft |
1.2 |
ps: manual.ps |
17 |
|
|
pdf: manual.pdf |
18 |
|
|
|
19 |
|
|
manual.ps: manual.dvi |
20 |
adcroft |
1.3 |
dvips -Pcmz -Pamz -Ppdf -o manual.ps manual.dvi |
21 |
adcroft |
1.2 |
|
22 |
|
|
manual.pdf: manual.ps |
23 |
|
|
ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true manual.ps manual.pdf |
24 |
cnh |
1.1 |
|
25 |
cnh |
1.6 |
# Note - the noantialias option here does not affect the gif images |
26 |
|
|
# that are generated. However, it does make ppmquant to run in |
27 |
|
|
# a way that leaves out the -floyd option. This option |
28 |
|
|
# causes problems with some figures. If you really want |
29 |
|
|
# to use -antialias then you need to turn off the -floyd option. |
30 |
|
|
# To do this either |
31 |
|
|
# 1. edit the pstoimg script that comes with latex2html |
32 |
|
|
# 2. rename /usr/bin/ppmquant to /usr/bin/ppmquant.orig and |
33 |
|
|
# create a shell script that calls /usr/bin/ppmquant.orig |
34 |
|
|
# with just the option -256. |
35 |
|
|
# e.g. |
36 |
|
|
# mv /usr/bin/ppmquant /usr/bin/ppmquant.orig |
37 |
|
|
# cat > /usr/bin/ppmquant <<! |
38 |
|
|
# #!/bin/csh -f |
39 |
|
|
# /usr/bin/ppmquant.orig 256 |
40 |
|
|
# ! |
41 |
|
|
|
42 |
|
|
|
43 |
cnh |
1.1 |
html: |
44 |
cnh |
1.6 |
latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "<a href=mailto:support@mitgcm.org>support@mitgcm.org</a>" -local_icons -noantialias -white manual |
45 |
|
|
|
46 |
|
|
html2: |
47 |
|
|
latex2html -image_type gif -split 5 -show_section_numbers -link 2 -address "<a href=mailto:support@mitgc,.org>support@mitgcm.org</a>" -local_icons -white -debug m2 |