Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow to configure more dirs #36

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

Conversation

agx
Copy link
Contributor

@agx agx commented Sep 23, 2023

These patches allow to:

  • add a ${DESTDIR}. This is needed for distro packaging where you install into
    /whatever/build/dir/usr/lib/libgovarnam.so.1.9.0 but want the path on the installed system to be /usr/lib/libgovarnam.so.1.9.0.
  • alllow to set libdir. This is needed for multiarch installs where you want the libs to be in `/usr/lib//libvarnam.so.1.9.0
  • allow to skip the cli install (for the case where it's not built)
  • instead of changing the files via sed multiple times we use one call. In order to avoid problems when running out of diskspace we create a temp file and move that into place.

With these I can build a policy conformant library package for Debian.

agx added 3 commits September 23, 2023 17:51
While $PREFIX tells us where the files should be on the installed system
${DESTDIR} is needed to specify the file location during the build
process. This is similar to DESTDIR as used in meson or autmake.
Needed for multiarch installations
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant