From 15a3a09d508eed0f6d2612dd42d1b8ea720eb036 Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Fri, 7 Sep 2018 15:41:06 +0000 Subject: doc: start work on mdoc generation support Signed-off-by: Nils Gillmann --- doc/documentation/Makefile.am | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/documentation') diff --git a/doc/documentation/Makefile.am b/doc/documentation/Makefile.am index b6c666c4d..0032b22e9 100644 --- a/doc/documentation/Makefile.am +++ b/doc/documentation/Makefile.am @@ -175,6 +175,18 @@ version2.texi: echo "@set EDITION $(PACKAGE_VERSION)" >> $@ echo "@set VERSION $(PACKAGE_VERSION)" >> $@ +if SECTION7 +gnunet-c-tutorial.7: version2.texi + @echo Attempting to output an mdoc formatted section 7 document + @texi2mdoc -I$(pwd):$(pwd)/chapters gnunet-c-tutorial.texi > ../man/gnunet-c-tutorial.7 + +gnunet-documentation.7: version2.texi + @echo Attempting to output an mdoc formatted section 7 document + @texi2mdoc -I$(pwd):$(pwd)/chapters gnunet.texi > ../man/gnunet-documentation.7 + +# TODO: (Maybe) other outputs resulting from this. +endif + # FIXME: rm *.html and *.pdf #doc-clean: # @rm *.aux *.log *.toc *.cp *.cps -- cgit v1.2.3