fix CMake variable expansion for man2html
This commit is contained in:
parent
2c7ab8be39
commit
383c341d88
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ if(BUILD_WEB_DOCS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_custom_command(OUTPUT ledger.1.html
|
add_custom_command(OUTPUT ledger.1.html
|
||||||
COMMAND ${BASH} -c "man2html $<1:CMAKE_CURRENT_SOURCE_DIR>/ledger.1 | tail -n+3 > ledger.1.html"
|
COMMAND ${BASH} -c "man2html ${CMAKE_CURRENT_SOURCE_DIR}/ledger.1 | tail -n+3 > ledger.1.html"
|
||||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ledger.1
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ledger.1
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
list(APPEND ledger_doc_files ledger.1.html)
|
list(APPEND ledger_doc_files ledger.1.html)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue