Skip to content

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
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.

1 participant