Skip to content

[v9_11] Install BIND with "make DESTDIR=<PATH> install"

Michal Nowak requested to merge mnowak/install-bind-by-setting-DESTDIR-v9_11 into v9_11

BIND installation should be done by setting DESTDIR during "make install" not by setting prefix via ./configure.

Make sure that installation with DESTDIR= works by checking that named binary and it's respective man page were installed and that well-known BIND9 directories - and only them - are present in DESTDIR.

Also rename install path variable from BIND_INSTALL_PATH to INSTALL_PATH to avoid namespace clash in stress tests which use BIND_INSTALL_PATH variable to configure path to BIND9 binaries.

(cherry picked from commit 823bf3e7)

Merge request reports