From 98a7419e66b93c17ad28fa7621652cc469f6d36e Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 9 Nov 2019 19:13:02 +0000 Subject: [PATCH] doc/man: Make html generation experimental, fix mdocml build. --- doc/man/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index 82cdfc06b..aca26bde4 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -8,15 +8,16 @@ gnunet.conf.5: gnunet.conf.5.in Makefile CLEANFILES = gnunet.conf.5 if TEXI2MDOC_GENERATION -gnunet-c-tutorial.7: Makefile - @texi2mdoc -I../tutorial:../tutorial/chapters ../tutorial/gnunet-tutorial.texi > gnunet-c-tutorial.7 +gnunet-tutorial.7: Makefile + @texi2mdoc -I../tutorial:../tutorial/chapters ../tutorial/tutorial.texi > gnunet-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 +CLEANFILES += gnunet-documentation.7 gnunet-tutorial.7 endif +if HAVE_EXPERIMENTAL if HAVE_MANDOC # After I went through the alternatives with the focus # on staying as portable as possible to other make @@ -38,6 +39,7 @@ man-html-uninstall: CLEANFILES += *.html endif +endif man_MANS = \ gnunet.conf.5 \ @@ -88,7 +90,7 @@ man_MANS = \ gnunet-zoneimport.1 if TEXI2MDOC_GENERATION -man_MANS += gnunet-c-tutorial.7 gnunet-documentation.7 +man_MANS += gnunet-tutorial.7 gnunet-documentation.7 endif EXTRA_DIST = ${man_MANS} \ -- 2.25.1