Debian Codegraph @

buildsystems/autotools/meson.build

raw
1 configure_file(
2 input: 'gtkdocize.in',
3 output: 'gtkdocize',
4 configuration: binary_in,
5 install: true,
6 install_dir: get_option('bindir'),
7 )
8
9 foreach mode : ['', 'no-xslt']
10 if mode == ''
11 nested = ''
12 flat = '.flat'
13 else
14 nested = '.' + mode
15 flat = nested + '-flat'
16 endif
17
18 custom_target(
19 'gtk-doc' + flat + '.make',
20 input: 'gtk-doc' + nested + '.make',
21 output: 'gtk-doc' + flat + '.make',
22 install: true,
23 install_dir: pkgdatadir,
24 capture: true,
25 command: [
26 'sed',
27 '-e',
28 's/EXTRA_DIST =/EXTRA_DIST +=/',
29 '@INPUT@',
30 ]
31 )
32
33 install_data(
34 ['gtk-doc' + nested + '.make'],
35 install_dir: pkgdatadir,
36 )
37 endforeach
38
39 custom_target(
40 'gtk-doc.m4',
41 input: 'gtk-doc.m4',
42 output: 'gtk-doc.m4',
43 install: true,
44 install_dir: get_option('datadir') / 'aclocal',
45 command: [
46 'cp',
47 '-f',
48 '@INPUT@',
49 '@OUTPUT@',
50 ],
51 )