]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ci: Fix paths shown in the website
authorAndrea Bolognani <abologna@redhat.com>
Tue, 19 Jul 2022 13:21:30 +0000 (15:21 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 11 Aug 2022 12:02:00 +0000 (14:02 +0200)
commit24fb0270c6eb435b28e2b11df9df31db847a8cf4
tree4ade5c1bfb8f0142865afc7ab12406a79e01e7b4
parent03ba5f68b8fbbf4707e7da88d2dde99b96e306d4
ci: Fix paths shown in the website

Right now we're setting the prefix to a custom path, which
results in paths like

  /builds/libvirt/libvirt/vroot/etc/libvirt/virtqemud.conf

ending up in the generated HTML. In order to avoid that,
set the prefix and other installation paths to reasonable
default values by passing

  -Dsystem=true

and then take advantage of $DESTDIR support to still be able
to write the HTML files without requiring root privileges.

Reported-by: Martin Kletzander <mkletzan@redhat.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
.gitlab-ci.yml