annotate doc/manual/CMakeLists.txt @ 356:2f64957d6a46
- fix to dynload to build with musl libc (latter has dlinfo but not RTLD_SELF, so fallback to dl_iterate_phdr if on ELF targets)
author |
Tassilo Philipp |
date |
Tue, 25 Feb 2020 16:07:45 +0100 |
parents |
3e629dc19168 |
children |
|
rev |
line source |
0
|
1 find_package(LATEX)
|
|
2 if(PDFLATEX_COMPILER)
|
|
3 add_custom_command(
|
|
4 OUTPUT manual.pdf
|
|
5 COMMAND ${PDFLATEX_COMPILER}
|
|
6 ARGS manual.tex
|
|
7 DEPENDS manual.tex
|
|
8 )
|
|
9 file(GLOB CLEAN_FILES *.aux *.log *.lof *.lol *.lot *.out *.toc)
|
|
10 set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CLEAN_FILES}")
|
|
11 endif()
|
|
12 add_custom_target(manual ALL echo DEPENDS manual.pdf)
|
|
13
|