From c0445ad1258469470c2158184bee8c88ed42615b Mon Sep 17 00:00:00 2001 From: ng0 Date: Wed, 6 Sep 2017 08:24:46 +0000 Subject: [PATCH] doc: Makefile: Add gnunet-c-tutorial. --- doc/Makefile.am | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 8caacb2bd..1e5a12321 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -32,11 +32,37 @@ gnunet_doc_images = \ images/service_stack.png \ images/gnunet-gtk-0-10-fs-search.png -info_TEXINFOS = \ - gnunet.texi +gnunet_tutorial_examples = \ + 001.c \ + 002.c \ + 003.c \ + 004.c \ + 005.c \ + 006.c \ + 007.c \ + 008.c \ + 009.c \ + 010.c \ + 011.c \ + 012.c \ + 013.c \ + 014.c \ + 015.c \ + 016.c \ + 017.c \ + 018.c \ + 019.c \ + 020.c \ + 021.c \ + 022.c \ + 023.c \ + 024.c \ + 025.c \ + 026.c -# FIXME: include this file in the documentation: -# gnunet-c-tutorial.tex +info_TEXINFOS = \ + gnunet.texi \ + gnunet-c-tutorial.texi gnunet_TEXINFOS = \ chapters/developer.texi \ @@ -48,7 +74,8 @@ gnunet_TEXINFOS = \ EXTRA_DIST = \ $(gnunet_TEXINFOS) \ - $(gnunet_doc_images) + $(gnunet_doc_images) \ + $(gnunet_tutorial_examples) version.texi: echo "@set UPDATED $(date +'%d %B %Y')" > $@ @@ -58,17 +85,23 @@ version.texi: doc-pdf: version.texi @makeinfo --pdf --quiet gnunet.texi +doc-pdf-tutorial: version.texi + @makeinfo --pdf --quiet gnunet-c-tutorial.texi doc-html: version.texi @makeinfo --html gnunet.texi +doc-html-tutorial: version.texi + @makeinfo --html gnunet-c-tutorial.texi doc-info: version.texi @makeinfo --no-split gnunet.texi +doc-info-tutorial: version.texi + @makeinfo --no-split gnunet-c-tutorial.texi # FIXME: rm *.html and *.pdf doc-clean: @rm *.aux *.log *.toc *.cp *.cps -doc-all: doc-pdf doc-html doc-info +doc-all: doc-pdf doc-html doc-info doc-pdf-tutorial doc-html-tutorial doc-info-tutorial .PHONY: version.texi -- 2.25.1