Previously the binary was being picked up from the current $PATH.
Signed-off-by: Zane Bitter zbitter@redhat.com --- src/cmake/modules/MatahariMacros.cmake | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cmake/modules/MatahariMacros.cmake b/src/cmake/modules/MatahariMacros.cmake index 65e489b..720d03c 100644 --- a/src/cmake/modules/MatahariMacros.cmake +++ b/src/cmake/modules/MatahariMacros.cmake @@ -105,7 +105,7 @@ macro(create_manpage BINARY SECTION DESC) add_custom_command( TARGET ${BINARY} POST_BUILD - COMMAND ${HELP2MAN} --output ${BINARY}.${SECTION} --no-info --section ${SECTION} --name ${DESC} ${BINARY} + COMMAND ${HELP2MAN} --output ${BINARY}.${SECTION} --no-info --section ${SECTION} --name ${DESC} ${CMAKE_CURRENT_BINARY_DIR}/${BINARY} COMMENT "Generating ${BINARY} man page" VERBATIM )
Looks good and is working.
RR
On 08/29/2011 02:24 PM, Zane Bitter wrote:
Previously the binary was being picked up from the current $PATH.
Signed-off-by: Zane Bitterzbitter@redhat.com
src/cmake/modules/MatahariMacros.cmake | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cmake/modules/MatahariMacros.cmake b/src/cmake/modules/MatahariMacros.cmake index 65e489b..720d03c 100644 --- a/src/cmake/modules/MatahariMacros.cmake +++ b/src/cmake/modules/MatahariMacros.cmake @@ -105,7 +105,7 @@ macro(create_manpage BINARY SECTION DESC) add_custom_command( TARGET ${BINARY} POST_BUILD
COMMAND ${HELP2MAN} --output ${BINARY}.${SECTION} --no-info --section ${SECTION} --name ${DESC} ${BINARY}
COMMAND ${HELP2MAN} --output ${BINARY}.${SECTION} --no-info --section ${SECTION} --name ${DESC} ${CMAKE_CURRENT_BINARY_DIR}/${BINARY} COMMENT "Generating ${BINARY} man page" VERBATIM )
Matahari mailing list Matahari@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/matahari
Looks good here, too. ACK
On 08/29/2011 08:29 AM, Roman Rakus wrote:
Looks good and is working.
RR
On 08/29/2011 02:24 PM, Zane Bitter wrote:
Previously the binary was being picked up from the current $PATH.
Signed-off-by: Zane Bitterzbitter@redhat.com
src/cmake/modules/MatahariMacros.cmake | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/cmake/modules/MatahariMacros.cmake b/src/cmake/modules/MatahariMacros.cmake index 65e489b..720d03c 100644 --- a/src/cmake/modules/MatahariMacros.cmake +++ b/src/cmake/modules/MatahariMacros.cmake @@ -105,7 +105,7 @@ macro(create_manpage BINARY SECTION DESC) add_custom_command( TARGET ${BINARY} POST_BUILD
COMMAND ${HELP2MAN} --output ${BINARY}.${SECTION} --no-info --section ${SECTION} --name ${DESC} ${BINARY}
COMMAND ${HELP2MAN} --output ${BINARY}.${SECTION} --no-info --section ${SECTION} --name ${DESC} ${CMAKE_CURRENT_BINARY_DIR}/${BINARY} COMMENT "Generating ${BINARY} man page" VERBATIM )
Matahari mailing list Matahari@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/matahari
Matahari mailing list Matahari@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/matahari
matahari@lists.fedorahosted.org