summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaute Hope <eg@gaute.vetsj.com>2019-04-06 19:39:46 +0200
committerGaute Hope <eg@gaute.vetsj.com>2019-04-06 19:39:46 +0200
commite933c739985cf11fbe2c8e152a97bba2ef453851 (patch)
tree909c37db54b0395e336e7227d27ca7a829722d0d
parent583050090c04bea12ea04273a4a72d2f3e85ebb0 (diff)
fix #627: use full flags for ronn (man page generation)
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index af6fbdb..c77402d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -413,7 +413,7 @@ if (NOT DISABLE_DOCS)
message (WARNING "Falling back to 'ronn' for man page generation.")
add_custom_command (
TARGET astroid
- COMMAND ${RONN} -rp ${CMAKE_SOURCE_DIR}/doc/astroid.1.scd | gzip > ${CMAKE_BINARY_DIR}/astroid.1.gz
+ COMMAND ${RONN} --roff --pipe ${CMAKE_SOURCE_DIR}/doc/astroid.1.scd | gzip > ${CMAKE_BINARY_DIR}/astroid.1.gz
COMMENT "Generating man page (ronn)")
else ()
message (FATAL_ERROR "Neither 'scdoc' nor 'ronn' installed. One is required for man page generation.")