From: Remi Gacogne Date: Mon, 22 Dec 2025 13:10:32 +0000 (+0100) Subject: auth: Install example configuration files when building with meson X-Git-Tag: rec-5.4.0-beta1~76^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56ac984d597681e3f6e3062f1ddce742dafa8db4;p=thirdparty%2Fpdns.git auth: Install example configuration files when building with meson Signed-off-by: Remi Gacogne --- diff --git a/meson.build b/meson.build index 74f308bf56..43670c7d6d 100644 --- a/meson.build +++ b/meson.build @@ -1024,6 +1024,22 @@ foreach tool, info: tools endif endforeach +dep_conf_distfile = custom_target( + 'gen-conf-distfile', + command: [pdns_server, '--config=default'], + output: 'pdns.conf-dist', + capture: true, + install: true, + install_dir: get_option('sysconfdir'), +) + +if get_option('tools-ixfrdist') + install_data( + 'pdns' / 'ixfrdist.example.yml', + install_dir: get_option('sysconfdir'), + ) +endif + # Man-pages. py = import('python') python = py.find_installation('python3', modules: 'venv', required: false)