CMakeLists.txt 1.7 KB
Newer Older
1
set(TEX_INPUTS
Thomas Fetzer's avatar
Thomas Fetzer committed
2
  0_dumux-handbook.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
3
  0_listingstyle.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
4
5
6
7
8
  1_introduction.tex
  2_detailedinstall.tex
  2_quickinstall.tex
  2_quickstartguide.tex
  3_tutorial.tex
Johannes Hommel's avatar
Johannes Hommel committed
9
10
  3_tutorialimplicit.tex
  3_tutorialsequential.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
11
  3_furtherpractice.tex
12
  4_assemblinglinearsystem.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
13
  4_guidelines.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
14
15
  4_developingdumux.tex
  4_externaltools.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
16
17
18
19
  4_newfoldersetup.tex
  4_parameterfiles.tex
  4_restartsimulations.tex
  4_structure.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
20
  5_stepsofasimulation.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
21
  5_fluidframework.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
22
  5_grids.tex
Thomas Fetzer's avatar
Thomas Fetzer committed
23
24
25
  5_models.tex
  5_propertysystem.tex
  5_spatialdiscretizations.tex
Johannes Hommel's avatar
Johannes Hommel committed
26
27
28
29
30
31
32
33
  ../../tutorial/tutorial_implicit.cc
  ../../tutorial/tutorial_implicit.input
  ../../tutorial/tutorialproblem_implicit.hh
  ../../tutorial/tutorialspatialparams_implicit.hh
  ../../tutorial/tutorial_sequential.cc
  ../../tutorial/tutorial_sequential.input
  ../../tutorial/tutorialproblem_sequential.hh
  ../../tutorial/tutorialspatialparams_sequential.hh)
34
35
36
37
38
39
40
41

set(TEX_IMAGES
  PNG/box_disc.png
  PNG/cc_disc.png
  PNG/dumux_strucutre_flowchart_horizontal_explained.png
  PNG/dunedesign.png
  ../logo/dumux_logo_hires_whitebg.png)

42
43
if(DUNE_COMMON_VERSION VERSION_LESS 2.5)
  # this only works before Dune 2.5
44
45
46
47
48
49
  dune_add_latex_document(0_dumux-handbook.tex
    FATHER_TARGET doc
    DEFAULT_PDF
    BIBFILES dumux-handbook.bib
    INPUTS ${TEX_INPUTS}
    IMAGES ${TEX_IMAGES})
50

51
52
53
  create_doc_install(${CMAKE_CURRENT_BINARY_DIR}/0_dumux-handbook.pdf
    ${CMAKE_INSTALL_DOCDIR})
else()
54
  # the Dune 2.5 way of calling these macros
55
56
57
58
59
60
61
62
  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()