Update French translation
[gtk-doc.git] / gtkdoc / meson.build
blobfac9d1071780792136aa9d1f5d5be15650c3e121
1 config_py = configuration_data()
2 config_py.set('prefix', get_option('prefix'))
3 config_py.set('datarootdir', join_paths('${prefix}', get_option('datadir')))
4 config_py.set('datadir', '${datarootdir}')
6 config_py.set('DBLATEX', dblatex_prg_path)
7 config_py.set('FOP', fop_prg_path)
8 config_py.set('HIGHLIGHT', highlight_prg_path)
9 config_py.set('HIGHLIGHT_OPTIONS', ' '.join(highlight_prg_args))
10 config_py.set('PKG_CONFIG', pkgconfig_prg_path)
11 config_py.set('XSLTPROC', xsltproc_prg_path)
13 config_py.set('VERSION', version)
14 config_py.set('EXEEXT', '')
16 configure_file(
17   input: 'config.py.in',
18   output: 'config.py',
19   configuration: config_py,
20   install: true,
21   install_dir: join_paths(
22     pkgpythondir,
23     'gtkdoc',
24   ),
27 gtkdoc_sources = [
28   '__init__.py',
29   'check.py',
30   'common.py',
31   'fixxref.py',
32   'md_to_db.py',
33   'mkdb.py',
34   'mkhtml.py',
35   'mkhtml2.py',
36   'mkman.py',
37   'mkpdf.py',
38   'rebase.py',
39   'scan.py',
40   'scangobj.py',
43 custom_target(
44   'gtkdoc',
45   input: gtkdoc_sources,
46   output: gtkdoc_sources,
47   build_by_default: true,
48   command: ['cp', '-f', '@INPUT@', '@OUTDIR@'],
49   install: true,
50   install_dir: join_paths(
51     pkgpythondir,
52     'gtkdoc',
53   ),