2008-07-24 02:13:03 -05:00
|
|
|
# $id: $
|
|
|
|
|
2009-08-05 09:11:46 -05:00
|
|
|
if BUILD_HANDBOOK
|
|
|
|
|
2008-09-25 14:52:48 -05:00
|
|
|
#EPS_FILES = EPS/tutorial-problemconfiguration.eps
|
2011-01-03 07:22:24 -06:00
|
|
|
TEXSOURCE = *.tex ./EPS/*.eps
|
2008-07-24 02:13:03 -05:00
|
|
|
MAINDOCS = dumux-handbook.dvi dumux-handbook.pdf dumux-handbook.ps
|
2008-09-25 14:52:48 -05:00
|
|
|
EXTRA_DIST = dumux-handbook.pdf
|
|
|
|
#Makefile.dist.in Makefile.dist.am
|
2008-07-24 02:13:03 -05:00
|
|
|
|
2011-01-19 07:37:54 -06:00
|
|
|
DOCS = $(HTDOCS) $(MAINDOCS) $(WMLDOCS)
|
2008-07-24 02:13:03 -05:00
|
|
|
|
|
|
|
# setting like in dune-web
|
|
|
|
BASEDIR=../..
|
|
|
|
CURDIR=doc/handbook
|
|
|
|
|
2009-08-05 09:11:46 -05:00
|
|
|
handbookdir=$(docdir)/handbook
|
|
|
|
handbook_DATA = dumux-handbook.pdf
|
2008-07-24 02:13:03 -05:00
|
|
|
|
2009-08-05 09:11:46 -05:00
|
|
|
CLEANFILES = *.aux *.bbl *.blg *.log *.out *.toc *.dvi *.ps
|
2008-07-24 02:13:03 -05:00
|
|
|
CLEANFILES += *.4ct *.4tc *.css *.idv *.idx *.lg *.tid *.tmp *.tms *.xref
|
2011-01-03 07:22:24 -06:00
|
|
|
CLEANFILES += dumux-handbook*.png
|
2008-07-24 02:13:03 -05:00
|
|
|
CLEANFILES += $(DOCS)
|
|
|
|
CLEANFILES += $(EPS_FILES)
|
|
|
|
|
|
|
|
%.eps: $(srcdir)/%.jpg
|
2012-01-03 08:31:53 -06:00
|
|
|
$CONVERT $< $@
|
2008-07-24 02:13:03 -05:00
|
|
|
dumux-handbook.tex: $(EPS_FILES)
|
|
|
|
|
2011-01-03 07:22:24 -06:00
|
|
|
dumux-handbook.pdf: $(TEXSOURCE)
|
2012-02-02 10:30:11 -06:00
|
|
|
@LATEX@ dumux-handbook.tex <&-
|
|
|
|
@BIBTEX@ dumux-handbook <&-
|
|
|
|
@LATEX@ dumux-handbook.tex <&-
|
|
|
|
@LATEX@ dumux-handbook.tex <&-
|
|
|
|
@DVIPDF@ dumux-handbook <&-
|
2009-06-03 03:37:34 -05:00
|
|
|
|
2008-09-25 14:52:48 -05:00
|
|
|
#dist-hook:
|
|
|
|
# sed $(srcdir)/Makefile.dist.am -e 's/Makefile\.dist/Makefile/g' > $(distdir)/Makefile.am
|
|
|
|
# sed $(srcdir)/Makefile.dist.in -e 's/Makefile\.dist/Makefile/g' > $(distdir)/Makefile.in
|
2008-07-24 02:13:03 -05:00
|
|
|
|
2009-08-05 09:11:46 -05:00
|
|
|
EXTRA_TEXINPUTS=$(top_srcdir)
|
2008-07-24 02:13:03 -05:00
|
|
|
|
|
|
|
include $(top_srcdir)/am/global-rules
|
|
|
|
include $(top_srcdir)/am/latex
|
2009-06-03 03:37:34 -05:00
|
|
|
|
2012-01-30 05:14:35 -06:00
|
|
|
else
|
|
|
|
doc:
|
|
|
|
echo -n ""
|
2009-08-05 09:11:46 -05:00
|
|
|
endif
|
2012-01-30 05:14:35 -06:00
|
|
|
|