From f78c3f7ca8b798f7be09a989b08f99d6cde5205d Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Thu, 20 May 2010 14:53:10 +0200 Subject: [PATCH] Build gtk-doc PDF by default and publish it. --- cfg.mk | 4 ++-- doc/gendocs_template | 3 ++- gl/override/doc/gendocs_template.diff | 5 +++-- 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 (among other items) from the Free Software Foundation; this helps support FSF activities.

-

The manual is also available in a few experimental formats: +

There is also an API reference manual:

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) -+

The manual is also available in a few experimental formats: ++

There is also an API reference manual: + +

+

+ -- 2.7.4