diff options
-rw-r--r-- | doc/meson.build | 2 | ||||
-rw-r--r-- | meson.build | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build index 1fe8884d4..76ea5bbfc 100644 --- a/doc/meson.build +++ b/doc/meson.build | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | install_subdir('handbook/html', | 2 | install_subdir('handbook/html', |
3 | install_dir: get_option('datadir')+'/doc', | 3 | install_dir: docdir/'handbook', |
4 | strip_directory: false) | 4 | strip_directory: false) |
5 | install_data('handbook/texinfo/gnunet.texi', | 5 | install_data('handbook/texinfo/gnunet.texi', |
6 | install_dir: get_option('infodir')) | 6 | install_dir: get_option('infodir')) |
diff --git a/meson.build b/meson.build index e7c4a8eb1..10e5a5fc6 100644 --- a/meson.build +++ b/meson.build | |||
@@ -19,6 +19,10 @@ r = run_command('sh', 'contrib/get_version.sh', '--micro', check: true) | |||
19 | cdata.set('gnunet_micro_version', r.stdout().strip()) | 19 | cdata.set('gnunet_micro_version', r.stdout().strip()) |
20 | 20 | ||
21 | pkgcfgdir = get_option('datadir')/'gnunet'/'config.d' | 21 | pkgcfgdir = get_option('datadir')/'gnunet'/'config.d' |
22 | docdir = get_option('datadir')/'doc'/'gnunet' | ||
23 | |||
24 | install_emptydir(docdir) | ||
25 | install_data('README', 'COPYING', install_dir: docdir) | ||
22 | 26 | ||
23 | # TODO: Set to true to build a single libgnunet | 27 | # TODO: Set to true to build a single libgnunet |
24 | if get_option('monolith') | 28 | if get_option('monolith') |