build: Add more dependencies to the ldoc target
Right now it was possible to modify `rc.lua` without the doc being aware of it.
This commit is contained in:
parent
90b17bdc09
commit
6ac8f30d62
|
@ -289,7 +289,12 @@ if(GENERATE_DOC)
|
||||||
file(COPY ${SOURCE_DIR}/docs/ldoc.css DESTINATION ${BUILD_DIR}/docs)
|
file(COPY ${SOURCE_DIR}/docs/ldoc.css DESTINATION ${BUILD_DIR}/docs)
|
||||||
|
|
||||||
add_custom_target(ldoc ALL
|
add_custom_target(ldoc ALL
|
||||||
DEPENDS ${BUILD_DIR}/doc/index.html ${BUILD_DIR}/docs/ldoc.css)
|
DEPENDS
|
||||||
|
${BUILD_DIR}/doc/index.html
|
||||||
|
${BUILD_DIR}/docs/ldoc.css
|
||||||
|
generate_awesomerc
|
||||||
|
)
|
||||||
|
|
||||||
if (STRICT_TESTS)
|
if (STRICT_TESTS)
|
||||||
set(ldoc_args --fatalwarnings .)
|
set(ldoc_args --fatalwarnings .)
|
||||||
set(ldoc_desc_suffix " (fatal warnings)")
|
set(ldoc_desc_suffix " (fatal warnings)")
|
||||||
|
|
Loading…
Reference in New Issue