WFLAGS ?= --enable-gcc-warnings
ADDFLAGS ?=
-CFGFLAGS ?= --enable-gtk-doc $(ADDFLAGS) $(WFLAGS)
+CFGFLAGS ?= --enable-gtk-doc --enable-gtk-doc-pdf $(ADDFLAGS) $(WFLAGS)
INDENT_SOURCES = `find . -name \*.[ch]|grep -v -e ^./gl -e ^./lib/gl -e ^./build-aux/ -e ^./lib/ASN1.c -e ^./tests/Test_tree_asn1_tab.c`
web:
cd doc && ../build-aux/gendocs.sh --html "--css-include=texinfo.css" \
-o ../$(htmldir)/manual/ $(PACKAGE) "$(PACKAGE_NAME)"
- cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/reference/
+ cp -v doc/reference/$(PACKAGE).pdf doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/reference/
cp -v doc/cyclo/cyclo-$(PACKAGE).html $(htmldir)/cyclo/index.html
upload-web:
some manuals</a> (among other items) from the Free Software Foundation;
this helps support FSF activities.</p>
-<p>The manual is also available in a few experimental formats:
+<p>There is also an API reference manual:
<p>
<ul>
<li><a href="../reference/">HTML Reference API Manual (GTK-DOC)</a>.
+ <li><a href="../reference/%%PACKAGE%%.pdf">PDF Reference API Manual (GTK-DOC)</a>.
<li><a href="../reference/%%PACKAGE%%.devhelp">DevHelp Reference API Manual (GTK-DOC)</a>.
</ul>
index 874689c..477d454 100755
--- a/doc/gendocs_template
+++ b/doc/gendocs_template
-@@ -41,6 +41,14 @@
+@@ -41,6 +41,15 @@
(%%TEXI_TGZ_SIZE%%K bytes gzipped tar file)</a></li>
</ul>
-+<p>The manual is also available in a few experimental formats:
++<p>There is also an API reference manual:
+
+<p>
+<ul>
+ <li><a href="../reference/">HTML Reference API Manual (GTK-DOC)</a>.
++ <li><a href="../reference/%%PACKAGE%%.pdf">PDF Reference API Manual (GTK-DOC)</a>.
+ <li><a href="../reference/%%PACKAGE%%.devhelp">DevHelp Reference API Manual (GTK-DOC)</a>.
+</ul>
+