Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Makefile fixes: #58

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

mgorny
Copy link

@mgorny mgorny commented Aug 3, 2019

  1. Stop compressing manpage implicitly.
  2. Use explicit dependencies for install-bin target.
  3. Fix install(1) usage to be portable to non-GNU systems.

Manpage compression is a packager/sysadmin task.  Forcing .gz
compression via Makefile not only creates duplicate work but is also
frequently wrong (modern distros use different compressed file formats).
Rather than opaquely making 'install' depend on 'all' (and 'install-bin'
fail when called immediately), make 'install-bin' specifically depend
on the generated binary file it needs.
'install -D' option is specific to GNU userland, and does not work
anywhere else.  Use explicit 'install -d' to create files prior to
installing them.
@CrafterSvK
Copy link

Non-gnu systems have also problem with bash. The code itself should be posix complaint or work on dash.

@mgorny
Copy link
Author

mgorny commented Nov 11, 2019

Ping.

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.

2 participants