diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/documentation/Makefile.am | 12 | ||||
-rw-r--r-- | doc/man/Makefile.am | 5 |
2 files changed, 17 insertions, 0 deletions
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: | |||
175 | echo "@set EDITION $(PACKAGE_VERSION)" >> $@ | 175 | echo "@set EDITION $(PACKAGE_VERSION)" >> $@ |
176 | echo "@set VERSION $(PACKAGE_VERSION)" >> $@ | 176 | echo "@set VERSION $(PACKAGE_VERSION)" >> $@ |
177 | 177 | ||
178 | if SECTION7 | ||
179 | gnunet-c-tutorial.7: version2.texi | ||
180 | @echo Attempting to output an mdoc formatted section 7 document | ||
181 | @texi2mdoc -I$(pwd):$(pwd)/chapters gnunet-c-tutorial.texi > ../man/gnunet-c-tutorial.7 | ||
182 | |||
183 | gnunet-documentation.7: version2.texi | ||
184 | @echo Attempting to output an mdoc formatted section 7 document | ||
185 | @texi2mdoc -I$(pwd):$(pwd)/chapters gnunet.texi > ../man/gnunet-documentation.7 | ||
186 | |||
187 | # TODO: (Maybe) other outputs resulting from this. | ||
188 | endif | ||
189 | |||
178 | # FIXME: rm *.html and *.pdf | 190 | # FIXME: rm *.html and *.pdf |
179 | #doc-clean: | 191 | #doc-clean: |
180 | # @rm *.aux *.log *.toc *.cp *.cps | 192 | # @rm *.aux *.log *.toc *.cp *.cps |
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index 37f881d60..d0871571d 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am | |||
@@ -46,3 +46,8 @@ man_MANS = \ | |||
46 | gnunet-zoneimport.1 | 46 | gnunet-zoneimport.1 |
47 | 47 | ||
48 | EXTRA_DIST = ${man_MANS} | 48 | EXTRA_DIST = ${man_MANS} |
49 | |||
50 | if SECTION7 | ||
51 | EXTRA_DIST += gnunet-documentation.7 \ | ||
52 | gnunet-c-tutorial.7 | ||
53 | endif | ||