commit c611225b43846561f0028dcdb18d26b2f2ac5610
parent ded238215bd5007a7b3c6d242de3c90fa8b1a336
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Wed, 4 Dec 2024 15:26:18 +0100
handbook: move to prebuilt submodule
Diffstat:
5 files changed, 0 insertions(+), 53 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -1,3 +0,0 @@
-[submodule "src/handbook"]
- path = contrib/handbook
- url = git://git.gnunet.org/gnunet-handbook.git
diff --git a/contrib/handbook b/contrib/handbook
@@ -1 +0,0 @@
-Subproject commit e28963e034813b23ea4ca680fcb8885bbf786789
diff --git a/doc/handbook/.gitignore b/doc/handbook/.gitignore
@@ -1,2 +0,0 @@
-html/
-texinfo/
diff --git a/doc/handbook/README b/doc/handbook/README
@@ -1,5 +0,0 @@
-DO NOT EDIT THE HANDBOOK HERE
-
-The GNUnet handbook can be found (and edited) in gnunet-handbook.git.
-It is included in the submodule contrib/sphinx.
-The html, texinfo and manpages are autogenerated from there on ./bootstrap.
diff --git a/doc/handbook/meson.build b/doc/handbook/meson.build
@@ -1,42 +0,0 @@
-fs = import('fs')
-makeinfo = find_program('makeinfo', native: true, required: false)
-sphinx = find_program('sphinx-build', native: true, required: false)
-
-if fs.exists('html')
- install_subdir('html',
- install_dir: docdir,
- strip_directory: false)
-else
- if sphinx.found()
- sphinxhandbook = custom_target('handbook-html',
- output: 'html',
- command: [sphinx,
- '-M', 'html',
- meson.project_source_root()/'contrib'/'handbook', meson.current_build_dir()],
- install: true,
- install_dir: docdir)
- endif
-endif
-
-if fs.exists('texinfo')
- install_data('texinfo'/'gnunet.info',
- install_dir: get_option('infodir'))
-else
- if sphinx.found()
- sphinxhandbooktexi = custom_target('handbook-texinfo',
- output: ['texinfo'],
- command: [sphinx,
- '-M', 'texinfo',
- meson.project_source_root()/'contrib'/'handbook', meson.current_build_dir()],
- install: false,
- install_dir: get_option('infodir'))
- custom_target('gnunet.info',
- output: 'gnunet.info',
- depends: sphinxhandbooktexi,
- command: [makeinfo, '--no-split', '--no-headers',
- meson.current_build_dir()/'texinfo'/'gnunet.texi', '-o', '@OUTPUT0@'],
- install: true,
- install_dir: get_option('infodir'))
- endif
-endif
-