File: meson.build

package info (click to toggle)
libjcat 0.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 932 kB
  • sloc: ansic: 7,104; python: 244; sh: 82; xml: 43; makefile: 7
file content (31 lines) | stat: -rw-r--r-- 702 bytes parent folder | download
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
install_data([
    'secret.ed25519',
    'test.btcheckpoint',
    'test.btverifier',
  ],
  install_dir: installed_test_datadir,
)

configure_file(
  input : 'libjcat.test.in',
  output : 'libjcat.test',
  configuration : conf,
  install: true,
  install_dir: installed_test_datadir,
)

# generate private PKCS7 key
certtool = find_program(['gnutls-certtool', 'certtool'], required : false)

if certtool.found()
  pkcs7_privkey = custom_target('test-privkey.pem',
    output: 'test-privkey.pem',
    command: [certtool, '--generate-privkey', '--outfile', '@OUTPUT@'],
  )
endif

subdir('pki')
subdir('colorhug')

testdatadir_src = meson.current_source_dir()
testdatadir_dst = meson.current_build_dir()