Commit acca9c18 authored by Timo Koch's avatar Timo Koch
Browse files

[doc] Adapt to upstream signature change of create_doc_install

parent 7b003210
......@@ -39,12 +39,25 @@ set(TEX_IMAGES
PNG/dunedesign.png
../logo/dumux_logo_hires_whitebg.png)
dune_add_latex_document(0_dumux-handbook.tex
FATHER_TARGET doc
DEFAULT_PDF
BIBFILES dumux-handbook.bib
INPUTS ${TEX_INPUTS}
IMAGES ${TEX_IMAGES})
if(DUNE_COMMON_VERSION_MAJOR VERSION_LESS 3)
# this only works before dune 3.0
dune_add_latex_document(0_dumux-handbook.tex
FATHER_TARGET doc
DEFAULT_PDF
BIBFILES dumux-handbook.bib
INPUTS ${TEX_INPUTS}
IMAGES ${TEX_IMAGES})
create_doc_install(${CMAKE_CURRENT_BINARY_DIR}/0_dumux-handbook.pdf
${CMAKE_INSTALL_DOCDIR})
create_doc_install(${CMAKE_CURRENT_BINARY_DIR}/0_dumux-handbook.pdf
${CMAKE_INSTALL_DOCDIR})
else()
# the dune 3.0 way of calling these macros
dune_add_latex_document(0_dumux-handbook.tex
BIBFILES dumux-handbook.bib
INPUTS ${TEX_INPUTS}
IMAGES ${TEX_IMAGES})
create_doc_install(${CMAKE_CURRENT_BINARY_DIR}/0_dumux-handbook.pdf
${CMAKE_INSTALL_DOCDIR} 0_dumux-handbook)
endif()
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