cleaned Makefile of handbook setdependencies of handbook strait

This commit is contained in:
Philipp Nuske 2011-01-03 13:22:24 +00:00 committed by Andreas Lauser
parent 0d7f8adc41
commit 283b4e2115

View File

@ -4,18 +4,10 @@ if BUILD_HANDBOOK
#EPS_FILES = EPS/tutorial-problemconfiguration.eps
DOCSOURCE = dumux-handbook.tex intro.tex propertysystem.tex navigation.html css.html
TEXSOURCE = *.tex ./EPS/*.eps
MAINDOCS = dumux-handbook.dvi dumux-handbook.pdf dumux-handbook.ps
if WML
WMLDOCS = index.html
endif
if TEX4HT
HTDOCS = navigation.html css.html dumux-handbook.html
endif
EXTRA_DIST = dumux-handbook.pdf
#Makefile.dist.in Makefile.dist.am
@ -35,7 +27,7 @@ handbook_DATA = dumux-handbook.pdf
CLEANFILES = *.aux *.bbl *.blg *.log *.out *.toc *.dvi *.ps
CLEANFILES += *.4ct *.4tc *.css *.idv *.idx *.lg *.tid *.tmp *.tms *.xref
CLEANFILES += dumux-handbook*.html dumux-handbook*.png
CLEANFILES += dumux-handbook*.png
CLEANFILES += $(DOCS)
if CONVERT
CLEANFILES += $(EPS_FILES)
@ -45,14 +37,7 @@ CLEANFILES += $(EPS_FILES)
dumux-handbook.tex: $(EPS_FILES)
endif
dumux-handbook.html: $(DOCSOURCE) dune.cfg tex4ht.env
$(MAKE) dumux-handbook.dvi
$(MK4HT) htlatex dumux-handbook.tex "dune"; \
$(MK4HT) htlatex dumux-handbook.tex "dune"; \
$(T4HT) dumux-handbook.tex
$(TEX) dumux-handbook.tex
dumux-handbook.pdf:
dumux-handbook.pdf: $(TEXSOURCE)
latex dumux-handbook.tex
bibtex dumux-handbook
latex dumux-handbook.tex