From: Michał Kępień Date: Sat, 21 Jun 2025 03:59:51 +0000 (+0200) Subject: Install named-compilezone X-Git-Tag: v9.21.10~40^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebd8074988507c22568f07dd464d1519ba0513d9;p=thirdparty%2Fbind9.git Install named-compilezone named-compilezone is an alias for named-checkzone: the two tools are built from the same set of source files, but they behave differently depending on which executable gets invoked. With Automake, named-compilezone was installed as a hard link to named-checkzone using a custom installation hook; try to keep things simple with Meson by using the install_symlink() method, which makes named-compilezone a symbolic link to named-checkzone and is the same thing that is already used for ddns-confgen/tsig-keygen. --- diff --git a/meson.build b/meson.build index 9ac66a1e926..49989944df9 100644 --- a/meson.build +++ b/meson.build @@ -111,6 +111,7 @@ sphinx_build = find_program('sphinx-build', required: doc_opt) ### Install information prefix = get_option('prefix') +bindir = prefix / get_option('bindir') datadir = prefix / get_option('datadir') libdir = prefix / get_option('libdir') localstatedir = prefix / get_option('localstatedir') @@ -1333,6 +1334,12 @@ executable( ], ) +install_symlink( + 'named-compilezone', + pointing_to: 'named-checkzone', + install_dir: bindir, +) + executable( 'named-journalprint', named_journalprint_src,