mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 6 additions and 1 deletions
|
@ -289,7 +289,12 @@ if(GENERATE_DOC)
|
|||
file(COPY ${SOURCE_DIR}/docs/ldoc.css DESTINATION ${BUILD_DIR}/docs)
|
||||
|
||||
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)
|
||||
set(ldoc_args --fatalwarnings .)
|
||||
set(ldoc_desc_suffix " (fatal warnings)")
|
||||
|
|
Loading…
Reference in a new issue