doc: Makefile: Add gnunet-c-tutorial.
authorng0 <ng0@infotropique.org>
Wed, 6 Sep 2017 08:24:46 +0000 (08:24 +0000)
committerng0 <ng0@infotropique.org>
Wed, 6 Sep 2017 08:24:46 +0000 (08:24 +0000)
doc/Makefile.am

index 8caacb2bd150f55485651fe28da51dacf89fb524..1e5a123212c9c8459f5b3fa79c8a536c2abf6161 100644 (file)
@@ -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