Commit c7bf9261 authored by kbk's avatar kbk
Browse files

proper generation of documentation

parent 44cb27d8
#$Id: Makefile,v 1.1 2006-02-07 07:16:21 kbk Exp $
#
# Makefile for the GETM source code documentation.
#
SHELL = /bin/sh
SRCDIR = ../src
RUSER=bolding
RHOST=bolding-burchard.com
RDIR=/data/kamel/domains/bolding-burchard.com/doc/v1.6/pdf/
PROTEXSRC = getm.tex \
domain.tex \
2d.tex \
3d.tex \
meteo.tex \
input.tex \
output.tex \
ncdf.tex \
futils.tex
TEXSRC = introduction.tex \
getmIntro.tex \
domainIntro.tex \
2dIntro.tex \
3dIntro.tex \
meteoIntro.tex \
inputIntro.tex \
outputIntro.tex \
ncdfIntro.tex \
futilsIntro.tex
TEXHTMLSRC = introduction.tex \
mainIntro.tex \
meanflowIntroHTML.tex \
turbulenceIntro.tex \
airseaIntro.tex \
observationsIntro.tex \
outputIntro.tex \
utilIntroHTML.tex \
extraIntro.tex \
cases.tex \
gotm.bib
.PHONY : clean realclean distclean upload $(PROTEXSRC)
all: a4.dvi a4.ps a4.pdf
a4.dvi: a4.tex $(TEXSRC) $(PROTEXSRC) figures
latex a4.tex
bibtex a4
latex a4.tex
latex a4.tex
latex a4.tex
a4.ps: a4.dvi
dvips a4.dvi
a4.pdf: a4.dvi
dvipdf a4.dvi
# Generate the protex dependend latex files (from the source code)
$(PROTEXSRC):
$(MAKE) -C $(SRCDIR)/$(shell echo $@ | cut -f 1 -d .) doc
upload: a4.pdf
scp -r a4.pdf $(RUSER)@$(RHOST):$(RDIR)
figures:
wget -nd -nH -q http://www.bolding-burchard.com/src/figures/getm-figs-1.6.x.gz
tar -xvzf getm-figs-1.6.x.gz
$(RM) getm-figs-1.6.x.gz
clean:
$(RM) *.log *.toc *.aux *.bbl *.blg *.bac *~
realclean: clean
$(RM) *.dvi *.ps *.pdf
$(RM) $(PROTEXSRC)
distclean: realclean
$(RM) *.gz
$(RM) -r figures
#$Id: Makefile,v 1.4 2003-04-07 16:45:07 kbk Exp $
#$Id: Makefile,v 1.5 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the 2D specific library - libm2d.a
#
......@@ -10,7 +10,7 @@ LIB = $(LIBDIR)/lib2d${buildtype}.a
MODSRC = m2d.F90 variables_2d.F90
LIBSRC = cfl_check.F90 have_bdy.F90 bottom_friction.F90 depth_update.F90 momentum.F90 uv_advect.F90 uv_diffusion.F90 coriolis.F90 sealevel.F90 uv_depths.F90 update_2d_bdy.F90 divergence.F90 residual.F90
LIBSRC = cfl_check.F90 have_bdy.F90 bottom_friction.F90 depth_update.F90 momentum.F90 uv_advect.F90 uv_diffusion.F90 sealevel.F90 uv_depths.F90 update_2d_bdy.F90 residual.F90
SRC = $(MODSRC) $(LIBSRC)
......@@ -21,7 +21,6 @@ ${LIB}(m2d.o)
OBJ = \
${LIB}(cfl_check.o) \
${LIB}(bottom_friction.o) \
${LIB}(coriolis.o) \
${LIB}(depth_update.o) \
${LIB}(momentum.o) \
${LIB}(sealevel.o) \
......@@ -30,7 +29,6 @@ ${LIB}(uv_diffusion.o) \
${LIB}(uv_depths.o) \
${LIB}(have_bdy.o) \
${LIB}(divergence.o) \
${LIB}(residual.o) \
${LIB}(update_2d_bdy.o)
all: modules objects
......@@ -43,14 +41,15 @@ $(MOD): $(INCS)
$(OBJ): $(INCS)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/2d.tex
touch doc
clean:
$(RM) $(LIB) $(MODDIR)/m2d.{m,mod}
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
#$Id: Makefile,v 1.8 2004-06-15 08:32:02 kbk Exp $
#$Id: Makefile,v 1.9 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the 3D specific library - libm3d.a
#
......@@ -86,8 +86,9 @@ $(MOD): $(INCS)
$(OBJ): $(MOD)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/3d.tex
touch doc
clean:
$(RM) $(LIB) $(MODDIR)/m3d.{m.mod}
......
#$Id: Makefile,v 1.1 2002-05-02 14:01:04 gotm Exp $
#$Id: Makefile,v 1.2 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build utilities written in C - libmcutils.a
#
......@@ -13,14 +13,15 @@ ${LIB}(caldat.o)
all: $(OBJ)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/cutils.tex
touch doc
clean:
$(RM) $(LIB)
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
#$Id: Makefile,v 1.3 2005-04-25 09:32:34 kbk Exp $
#$Id: Makefile,v 1.4 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the domain library - libdomain.a
#
......@@ -37,14 +37,15 @@ $(MOD): $(INCS)
$(OBJ): $(INCS)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/domain.tex
touch doc
clean:
$(RM) $(LIB) $(MODDIR)/domain.{m.mod} $(MODDIR)/topo_interface.{m.mod}
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
#$Id: Makefile,v 1.6 2005-04-25 09:32:34 kbk Exp $
#$Id: Makefile,v 1.7 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build utilities written in Fortran90 - libfutils.a
#
......@@ -55,14 +55,15 @@ modules: $(MOD)
objects: $(OBJ)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/futils.tex
touch doc
clean:
$(RM) $(LIB) $(MODDIR)/{parameters,time,grid_interpol}.{m,mod}
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
#$Id: Makefile,v 1.3 2003-12-16 16:56:05 kbk Exp $
#$Id: Makefile,v 1.4 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the main getm library - libmgetm.a
#
......@@ -23,14 +23,15 @@ modules: $(MOD)
objects: $(OBJ)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/getm.tex
touch doc
clean:
$(RM) ${LIB} $(MODDIR)/{integration,initialise}.{m.mod}
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
$(RM) work.pc *.d
......
#$Id: Makefile,v 1.3 2005-04-25 09:32:34 kbk Exp $
#$Id: Makefile,v 1.4 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the ncdf module - ncdfio.o
#
......@@ -43,14 +43,15 @@ modules: $(MOD)
objects: $(OBJ)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/input.tex
touch doc
clean:
$(RM) $(LIB) $(MODDIR)/input.{m,mod}
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
#$Id: Makefile,v 1.1 2002-05-02 14:01:38 gotm Exp $
#$Id: Makefile,v 1.2 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the meteo module - meteo.mod
#
......@@ -27,14 +27,15 @@ modules: $(MOD)
objects: $(OBJ)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/meteo.tex
touch doc
clean:
$(RM) $(LIB)
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
#$Id: Makefile,v 1.5 2005-04-25 09:32:34 kbk Exp $
#$Id: Makefile,v 1.6 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the ncdf module - ncdfio.o and the libncdfio.a library
#
......@@ -59,14 +59,15 @@ modules: $(MOD)
objects: $(OBJ)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/ncdf.tex
touch doc
clean:
$(RM) $(LIB)
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
#$Id: Makefile,v 1.2 2004-03-29 15:46:07 kbk Exp $
#$Id: Makefile,v 1.3 2006-02-07 07:16:22 kbk Exp $
#
# Makefile to build the output module
#
......@@ -31,14 +31,15 @@ modules: $(MOD)
objects: $(OBJ)
doc:
doc: $(SRC)
$(PROTEX) $(SRC) > $(DOCDIR)/output.tex
touch doc
clean:
$(RM) $(LIB) $(MODDIR)/{output,ncdf_out,ascii_out}.{m,mod}
realclean: clean
$(RM) *.o
$(RM) *.o doc
distclean: realclean
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment