Commit 5511fb26 authored by Oliver Sander's avatar Oliver Sander

Use dependency tracking provided by UseLatexMk.cmake

dune-common switched to UseLatexMk.cmake, which exploits
the dependency tracking of latexmk.  Let's use this for
the dune-functions manuals, because it allows to vastly
shorten the CMakelists.txt file.
parent 40f32a47
Pipeline #20859 passed with stage
in 9 minutes and 52 seconds
if(LATEX_USABLE)
set(BASES_SOURCES
../../examples/interpolation.cc
../../examples/stokes-taylorhood.cc
)
set(BASES_IMAGES
gfx/driven_cavity.pdf
gfx/driven_cavity_result.png
gfx/febasis_interface_schematic.pdf
gfx/cc-by-nd.pdf
)
dune_add_latex_document(dune-functions-bases.tex
BIBFILES dune-functions-bases.bib
INPUTS ${BASES_SOURCES}
IMAGES ${BASES_IMAGES})
set(FUNCTIONS_SOURCES
src/integration-test.cc
gfx/timings_gcc.pgf
gfx/timings_gcc_pgo.pgf
gfx/timings_clang.pgf
)
set(FUNCTIONS_IMAGES
gfx/functions_interface_schematic.pdf
)
dune_add_latex_document(dune-functions-functions.tex
BIBFILES dune-functions-functions.bib
INPUTS ${FUNCTIONS_SOURCES}
IMAGES ${FUNCTIONS_IMAGES})
add_latex_document(SOURCE dune-functions-bases.tex)
add_latex_document(SOURCE dune-functions-functions.tex)
endif(LATEX_USABLE)
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