From 383c341d885e1a69fc63aca2ae7db4a2ff5ff1a8 Mon Sep 17 00:00:00 2001 From: Johann Klähn Date: Tue, 29 Jan 2013 23:29:46 +0100 Subject: fix CMake variable expansion for man2html --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/CMakeLists.txt') 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) -- cgit v1.2.3