You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
750 B
16 lines
750 B
diff -up lensfun-0.3.2/docs/CMakeLists.txt.INSTALL_HELPER_SCRIPTS lensfun-0.3.2/docs/CMakeLists.txt |
|
--- lensfun-0.3.2/docs/CMakeLists.txt.INSTALL_HELPER_SCRIPTS 2016-01-03 11:43:52.326346877 -0600 |
|
+++ lensfun-0.3.2/docs/CMakeLists.txt 2016-01-03 11:44:51.628838749 -0600 |
|
@@ -22,6 +22,7 @@ ADD_CUSTOM_TARGET(doc |
|
# install documentation |
|
INSTALL(DIRECTORY ${CMAKE_DOC_OUT}/ DESTINATION ${CMAKE_INSTALL_DOCDIR}) |
|
|
|
+IF(INSTALL_HELPER_SCRIPTS) |
|
# create and install man pages |
|
FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man rst2man.py rst2man2 rst2man2.py) |
|
ADD_CUSTOM_TARGET(man ALL) |
|
@@ -39,3 +40,4 @@ INSTALL(FILES |
|
${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1 |
|
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 |
|
) |
|
+ENDIF(INSTALL_HELPER_SCRIPTS)
|
|
|