gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 02/02: DOC: Back to info_TEXINFOS


From: gnunet
Subject: [gnunet] 02/02: DOC: Back to info_TEXINFOS
Date: Sun, 02 Oct 2022 04:48:19 +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 4611664be0ba79ec7029a74cf961f28f2a658241
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Sun Oct 2 11:48:10 2022 +0900

    DOC: Back to info_TEXINFOS
---
 bootstrap       |  2 +-
 doc/Makefile.am | 20 +++++++++++---------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/bootstrap b/bootstrap
index 2c6cea4ce..5601c730d 100755
--- a/bootstrap
+++ b/bootstrap
@@ -111,7 +111,7 @@ sphinx_update()
       # GNS
       make html >/dev/null || exit 1
       cp -r _build/html ../../doc/handbook/ || exit 1
-      make info >/dev/null || exit 1
+      make texinfo >/dev/null || exit 1
       cp -r _build/texinfo ../../doc/handbook/ || exit 1
       make man >/dev/null || exit 1
       cp -r _build/man/* ../../doc/man || exit 1
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 151f83267..a8b044ccc 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -6,6 +6,12 @@ if HAVE_DOXY_BINARY
   SUBDIRS += doxygen
 endif
 
+# OpenBSD is a bit iffy wrt sphinx make info
+if OPENBSD
+all-local:
+       cd handbook/texinfo && make || touch gnunet.info
+endif
+
 install-data-hook:
        mkdir -p $(DESTDIR)$(docdir)
        cp -pr handbook/html $(DESTDIR)$(docdir)
@@ -16,17 +22,13 @@ if INCLUDE_MANPAGES
 SUBDIRS += man
 endif
 
-# NOTE: We cannot make this conditional because automake
-# This means that if documentation is built, you MUST also build texinfos
-# and need makeinfo.
-# And yes, sphinx already compiled texi->info at this point and this will
-# re-create it.
-# So, we now manually copy it above in the install-data-hook
-#info_TEXINFOS = \
-#  sphinx/_build/texinfo/gnunet.texi
+AM_MAKEINFOFLAGS = --no-headers --no-split
+
+info_TEXINFOS = \
+  handbook/texinfo/gnunet.texi
 
 EXTRA_DIST = \
-       handbook/texinfo/gnunet.info \
+       handbook/texinfo \
        system_specific/outdated-and-old-installation-instructions.txt \
        system_specific/FROM_SOURCE \
        handbook/html

-- 
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]