Mercurial > irccd
comparison doc/CMakeLists.txt @ 101:113d909fdfe1
CMake: disallow absolute paths, #389
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 25 Apr 2016 21:16:47 +0200 |
parents | 1158cffe5a5e |
children | ff26bd33a45d |
comparison
equal
deleted
inserted
replaced
100:a3814665a60d | 101:113d909fdfe1 |
---|---|
29 ${doc_SOURCE_DIR}/procs/20.options.md | 29 ${doc_SOURCE_DIR}/procs/20.options.md |
30 ${doc_SOURCE_DIR}/procs/30.options.md | 30 ${doc_SOURCE_DIR}/procs/30.options.md |
31 ${doc_SOURCE_DIR}/procs/60.new-command.md | 31 ${doc_SOURCE_DIR}/procs/60.new-command.md |
32 ) | 32 ) |
33 | 33 |
34 # | |
35 # Set the DOC_OUTPUT variable to where files will be installed | |
36 # ------------------------------------------------------------------- | |
37 # | |
38 # Depending if irccd is relocatable or not, documentation generated will be in a different folder, either | |
39 # in the real fakeroot documentation directory or not. | |
40 # | |
41 | |
42 if (IRCCD_RELOCATABLE) | |
43 set(DOC_OUTPUT ${CMAKE_BINARY_DIR}/fakeroot/${WITH_DOCDIR}) | |
44 else () | |
45 set(DOC_OUTPUT ${CMAKE_BINARY_DIR}/docs) | |
46 endif () | |
47 | |
48 # Needed for fakeroot | 34 # Needed for fakeroot |
49 if (WITH_DOXYGEN) | 35 if (WITH_DOXYGEN) |
50 add_subdirectory(doxygen) | 36 add_subdirectory(doxygen) |
51 endif () | 37 endif () |
52 | 38 |