opm-simulators/doc/handbook/Makefile.am

51 lines
1.2 KiB
Makefile
Raw Normal View History

2008-07-24 02:13:03 -05:00
# $id: $
if BUILD_HANDBOOK
2008-09-25 14:52:48 -05:00
#EPS_FILES = EPS/tutorial-problemconfiguration.eps
TEXSOURCE = *.tex ./EPS/*.eps
2008-07-24 02:13:03 -05:00
MAINDOCS = dumux-handbook.dvi dumux-handbook.pdf dumux-handbook.ps
EXTRA_DIST = dumux-handbook.pdf $(TEXSOURCE) dumux-handbook.bib ModelDescriptions/*.tex
2008-09-25 14:52:48 -05:00
#Makefile.dist.in Makefile.dist.am
2008-07-24 02:13:03 -05:00
DOCS = $(HTDOCS) $(MAINDOCS)
2008-07-24 02:13:03 -05:00
# setting like in dune-web
BASEDIR=../..
CURDIR=doc/handbook
handbookdir=$(docdir)/handbook
handbook_DATA = dumux-handbook.pdf
2008-07-24 02:13:03 -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
CLEANFILES += dumux-handbook*.png
2008-07-24 02:13:03 -05:00
CLEANFILES += $(DOCS)
CLEANFILES += $(EPS_FILES)
%.eps: $(srcdir)/%.jpg
$CONVERT $< $@
2008-07-24 02:13:03 -05:00
dumux-handbook.tex: $(EPS_FILES)
dumux-handbook.pdf: $(TEXSOURCE)
@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
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 ""
endif
2012-01-30 05:14:35 -06:00