gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated: doc/man: create better rules for texi2md


From: gnunet
Subject: [gnunet] branch master updated: doc/man: create better rules for texi2mdoc.
Date: Sun, 27 Oct 2019 15:30:19 +0100

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

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 83eb77daf doc/man: create better rules for texi2mdoc.
83eb77daf is described below

commit 83eb77dafd5054bee67dc9cc05dca8dc23ecd7f0
Author: ng0 <address@hidden>
AuthorDate: Sun Oct 27 14:27:10 2019 +0000

    doc/man: create better rules for texi2mdoc.
---
 doc/man/Makefile.am             | 17 +++++++----------
 doc/man/texi2mdoc-generation.sh | 15 ---------------
 2 files changed, 7 insertions(+), 25 deletions(-)

diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
index 53d0d663b..a4c81dd43 100644
--- a/doc/man/Makefile.am
+++ b/doc/man/Makefile.am
@@ -5,21 +5,19 @@ do_subst = $(SED) -e 's,[@]SYSCONFDIR[@],$(sysconfdir),g'
 gnunet.conf.5: gnunet.conf.5.in Makefile
        $(do_subst) < $(srcdir)/gnunet.conf.5.in > gnunet.conf.5
 
-if TEXI2MDOC_GENERATION
-gnunet-c-tutorial.7: Makefile gnunet-tutorial.7
-       @echo generated texi2mdoc output || true
-
-gnunet-tutorial.7: Makefile
-       $(SH) $(srcdir)/texi2mdoc-generation.sh || true
-
-endif
-
 CLEANFILES = gnunet.conf.5 *.html
 
 if TEXI2MDOC_GENERATION
+gnunet-c-tutorial.7: Makefile
+       @texi2mdoc -I../tutorial:../tutorial/chapters 
../tutorial/gnunet-tutorial.texi > gnunet-c-tutorial.7
+
+gnunet-documentation.7: Makefile
+       @texi2mdoc -I../handbook:../handbook/chapters ../handbook/gnunet.texi > 
gnunet-documentation.7
+
 CLEANFILES += gnunet-documentation.7 gnunet-c-tutorial.7
 endif
 
+
 html:
        $(SH) $(srcdir)/produce_html.sh
 
@@ -77,5 +75,4 @@ endif
 
 EXTRA_DIST = ${man_MANS} \
  gnunet.conf.5.in \
- texi2mdoc-generation.sh \
  README
diff --git a/doc/man/texi2mdoc-generation.sh b/doc/man/texi2mdoc-generation.sh
deleted file mode 100755
index b88987cda..000000000
--- a/doc/man/texi2mdoc-generation.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-# This script is in the public-domain.
-# GNUnet e.V. 2019
-#
-# Commentary: generate texi2mdoc output. This would be easier with
-# bmake / BSDmake, oh well.
-#
-# Excercise for future readers: don't fix this.
-
-# echo $(pwd)
-cd ../tutorial
-texi2mdoc -I$(pwd):$(pwd)/chapters gnunet-tutorial.texi > 
../man/gnunet-c-tutorial.7
-# echo $(pwd)
-cd ../handbook
-texi2mdoc -I$(pwd):$(pwd)/chapters gnunet.texi > ../man/gnunet-documentation.7

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

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