Skip to content

Conversation

@flagrama
Copy link

. will by default install to /usr/local/./armips (similar for the Readme) which is undesirable. armips should install to a bin directory, Readme should install to a doc directory for the executable.

flagrama added 2 commits July 16, 2021 14:05
`.` will by default install to `/usr/local/./armips` (similar for the Readme) which is undesirable. armips should install to a bin directory, Readme should install to a doc directory for the executable.
@Kingcom
Copy link
Owner

Kingcom commented Jul 18, 2021

Hm, I'm not sure if these would be ideal for Windows packages. What do you think of using GNUInstallDirs and overriding the variables with suitable paths when on Windows? That'd give maximum flexibility too.

@flagrama
Copy link
Author

I can certainly look into it, though I'm not familiar with when you'd ever use make install on Windows in the first place.

@flagrama
Copy link
Author

How are these even used on Windows considering Windows has neither make or install binaries?

Use default UNIX values on non-Windows systems, use the prefix directory
itself on Windows.
@flagrama
Copy link
Author

Windows is untested, but should work the same as it did previously.

Previous commit feels over-engineered.
@hyh19962008
Copy link

Can this PR be merged? I feel confusing too when the bin is installed in /usr/local, which is not in the PATH.

@ivodopiviz
Copy link

+1 To this, please :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants