Bug 76 - There is no cmake rule to install the man page
Summary: There is no cmake rule to install the man page
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Build system (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: PulseView 0.1.0
Assignee: Uwe Hermann
URL:
Keywords:
Depends on:
Blocks: 45
  Show dependency treegraph
 
Reported: 2013-03-11 21:47 CET by Joel Holdsworth
Modified: 2013-05-04 15:25 CEST (History)
0 users



Attachments
This patch offers an incomplete rule. This is believe not to be correct for all platforms. (1.09 KB, patch)
2013-03-11 21:47 CET, Joel Holdsworth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Holdsworth 2013-03-11 21:47:36 CET
Created attachment 28 [details]
This patch offers an incomplete rule. This is believe not to be correct for all platforms.

There is a man page, but it is currently not installed, because there is no rule in CMakeLists.txt

Is there some way of getting the correct install path from outside rather than having to reimplement man-page installation logic? Is there some module for cmake that we can leverage to do this?
Comment 1 Uwe Hermann 2013-05-04 15:25:36 CEST
Fixed in 52bbe6001445a59a60c95de0f4320a8166b4bddd.

The "proper" cmake mechanism seems to be to use the GNUInstallDirs module here.