summaryrefslogtreecommitdiff
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
authorJohann Klähn <kljohann@gmail.com>2013-01-29 23:29:46 +0100
committerJohann Klähn <kljohann@gmail.com>2013-01-29 23:31:39 +0100
commit383c341d885e1a69fc63aca2ae7db4a2ff5ff1a8 (patch)
tree7fb699dfbab3109eca71f0c2d223009e89088eca /doc/CMakeLists.txt
parent2c7ab8be391e8b5b52a988e4e8703c092a975e9e (diff)
downloadfork-ledger-383c341d885e1a69fc63aca2ae7db4a2ff5ff1a8.tar.gz
fork-ledger-383c341d885e1a69fc63aca2ae7db4a2ff5ff1a8.tar.bz2
fork-ledger-383c341d885e1a69fc63aca2ae7db4a2ff5ff1a8.zip
fix CMake variable expansion for man2html
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 72a6da84..8ca83783 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -77,7 +77,7 @@ if(BUILD_WEB_DOCS)
endif()
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
VERBATIM)
list(APPEND ledger_doc_files ledger.1.html)