Skip to content

doc/man: Fix installation directory - #970

Merged
Nightwalker-87 merged 1 commit into
stlink-org:developfrom
nmeum:fix-mandir
May 31, 2020
Merged

Nightwalker-87 merged 1 commit into
stlink-org:developfrom
nmeum:fix-mandir

Conversation

@nmeum

@nmeum nmeum commented May 31, 2020

Copy link
Copy Markdown
Contributor

On Unix-like operating systems man pages are commonly installed to
/usr/share/man not /usr/share/stlink/man.


Also: I noticed the pkgconfig file is no longer installed by default, how do I fix that?

On Unix-like operating systems man pages are commonly installed to
`/usr/share/man` not `/usr/share/stlink/man`.
@nmeum

nmeum commented May 31, 2020

Copy link
Copy Markdown
Contributor Author

Also: I noticed the pkgconfig file is no longer installed by default, how do I fix that?

#add_subdirectory(cmake/pkgconfig)

🤔

@Nightwalker-87 Nightwalker-87 added this to the v1.6.2 milestone May 31, 2020
algitbot pushed a commit to alpinelinux/aports that referenced this pull request May 31, 2020
@Nightwalker-87

Copy link
Copy Markdown
Member

@nmeum: I currently don't see the need for it since these settings should be set by cmake's internal PkgConfig module. In fact this seems to be a leftover originally intended to be removed.

@nmeum

nmeum commented May 31, 2020

Copy link
Copy Markdown
Contributor Author

I currently don't see the need for it since these settings should be set by cmake's internal PkgConfig module.

The need for installing a pkgconfig file? Why even provide one in the first place then?

@Nightwalker-87

Nightwalker-87 commented May 31, 2020 •

Copy link
Copy Markdown
Member

It was used up to the previous release, before the cmake package config was rewritten (that makes it a leftover from my point of view).

@nmeum

nmeum commented May 31, 2020 •

Copy link
Copy Markdown
Contributor Author

It was used up to the previous release, before the cmake package config was rewritten (that makes it a leftover from my point of view).

Well the cmake find_package package config thingy (cmake-packages(7)) and pkg-config are two entirely different things. The former can only be used with CMake, the latter also with other build systems (e.g. GNU make).

@Nightwalker-87

Copy link
Copy Markdown
Member

This thread should continue in the appropriate PR. Different topics should not be mixed.

@Nightwalker-87
Nightwalker-87 merged commit adb083c into stlink-org:develop May 31, 2020
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Dec 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants