gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] 10/12: BUILD: Fix doc directory and doc installation


From: gnunet
Subject: [gnunet] 10/12: BUILD: Fix doc directory and doc installation
Date: Fri, 29 Sep 2023 19:40:07 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 81ced6f2131d16ed199ced0233fcb681d1e5753f
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Sep 29 17:48:46 2023 +0200

    BUILD: Fix doc directory and doc installation
---
 doc/meson.build | 2 +-
 meson.build     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

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 @@
 
 install_subdir('handbook/html',
-               install_dir: get_option('datadir')+'/doc',
+               install_dir: docdir/'handbook',
                strip_directory: false)
 install_data('handbook/texinfo/gnunet.texi',
              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)
 cdata.set('gnunet_micro_version', r.stdout().strip())
 
 pkgcfgdir = get_option('datadir')/'gnunet'/'config.d'
+docdir = get_option('datadir')/'doc'/'gnunet'
+
+install_emptydir(docdir)
+install_data('README', 'COPYING', install_dir: docdir)
 
 # TODO: Set to true to build a single libgnunet
 if get_option('monolith')

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]