summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2010-05-20 14:53:10 +0200
committerSimon Josefsson <simon@josefsson.org>2010-05-20 14:58:22 +0200
commitf78c3f7ca8b798f7be09a989b08f99d6cde5205d (patch)
tree275cddd62ecccc68e3bed97b74e314f7a6d6c7f6
parent1e1c6702f4b0a7b9b7d95a1c2ef52d98b7151a39 (diff)
downloadlibtasn1-f78c3f7ca8b798f7be09a989b08f99d6cde5205d.tar.gz
libtasn1-f78c3f7ca8b798f7be09a989b08f99d6cde5205d.tar.bz2
libtasn1-f78c3f7ca8b798f7be09a989b08f99d6cde5205d.zip
Build gtk-doc PDF by default and publish it.
-rw-r--r--cfg.mk4
-rw-r--r--doc/gendocs_template3
-rw-r--r--gl/override/doc/gendocs_template.diff5
3 files changed, 7 insertions, 5 deletions
diff --git a/cfg.mk b/cfg.mk
index 4f9acb4..d52b68c 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -19,7 +19,7 @@
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`
@@ -81,7 +81,7 @@ upload:
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:
diff --git a/doc/gendocs_template b/doc/gendocs_template
index a2c658b..9b86dcb 100644
--- a/doc/gendocs_template
+++ b/doc/gendocs_template
@@ -63,11 +63,12 @@
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>
diff --git a/gl/override/doc/gendocs_template.diff b/gl/override/doc/gendocs_template.diff
index ceb0445..ccd4e5b 100644
--- a/gl/override/doc/gendocs_template.diff
+++ b/gl/override/doc/gendocs_template.diff
@@ -2,15 +2,16 @@ diff --git a/doc/gendocs_template b/doc/gendocs_template
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>
+