File: meson.build

package info (click to toggle)
knot-resolver 6.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 16,384 kB
  • sloc: javascript: 42,732; ansic: 40,312; python: 12,616; cpp: 2,121; sh: 1,997; xml: 193; makefile: 186
file content (35 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# etc
# SPDX-License-Identifier: GPL-3.0-or-later

etc_files = []

if install_root_hints
  etc_files += 'root.hints'
endif

if managed_ta
  etc_files += 'icann-ca.pem'
endif

if install_root_keys
  root_keys_path = keyfile_default.split('/')
  root_keys_filename = root_keys_path[-1]
  root_keys_dir = []
  foreach el : root_keys_path
    if el != root_keys_filename
      root_keys_dir += el
    endif
  endforeach
  install_data(
    sources: 'root.keys',
    rename: root_keys_filename,
    install_dir: '/'.join(root_keys_dir)
  )
endif

subdir('config')

install_data(
  sources: etc_files,
  install_dir: etc_dir
)