Bugzilla – Attachment 28 Details for
Bug 76
There is no cmake rule to install the man page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This patch offers an incomplete rule. This is believe not to be correct for all platforms.
0001-Added-missing-install-rule-for-man-page.patch (text/plain), 1.09 KB, created by
Joel Holdsworth
on 2013-03-11 21:47:36 CET
(
hide
)
Description:
This patch offers an incomplete rule. This is believe not to be correct for all platforms.
Filename:
MIME Type:
Creator:
Joel Holdsworth
Created:
2013-03-11 21:47:36 CET
Size:
1.09 KB
patch
obsolete
>From a69196fbf5be739e000e340221229cade2b3b098 Mon Sep 17 00:00:00 2001 >From: Joel Holdsworth <joel@airwebreathe.org.uk> >Date: Sat, 9 Mar 2013 16:17:02 +0000 >Subject: [PATCH] Added missing install rule for man page > >--- > CMakeLists.txt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/CMakeLists.txt b/CMakeLists.txt >index 7db89f8..223460b 100644 >--- a/CMakeLists.txt >+++ b/CMakeLists.txt >@@ -206,8 +206,20 @@ target_link_libraries(${PROJECT_NAME} ${PULSEVIEW_LINK_LIBS}) > #= Installation > #------------------------------------------------------------------------------- > >+# Executable installation >+ > install(TARGETS ${PROJECT_NAME} DESTINATION bin/) > >+# Man page installation >+ >+if(NOT MAN_INSTALL_DIR AND NOT WIN32) >+ set(MAN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/man/man1) >+endif() >+ >+if(MAN_INSTALL_DIR) >+ install(FILES doc/pulseview.1 DESTINATION ${MAN_INSTALL_DIR}) >+endif() >+ > #=============================================================================== > #= Packaging (handled by CPack) > #------------------------------------------------------------------------------- >-- >1.7.10.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 76
: 28