[gspell] build: use GSPELL_API_VERSION in docs/reference/Makefile.am
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] build: use GSPELL_API_VERSION in docs/reference/Makefile.am
- Date: Sun, 13 Mar 2016 09:23:40 +0000 (UTC)
commit 2e852c8c9c15efed6c39fac9e9e85f8447c19072
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Mar 13 10:03:28 2016 +0100
build: use GSPELL_API_VERSION in docs/reference/Makefile.am
docs/reference/Makefile.am | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 525e24f..4953a3c 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -2,7 +2,11 @@
AUTOMAKE_OPTIONS = 1.6
# The name of the module.
-DOC_MODULE = gspell-1.0
+# For library-web, it's simpler if the DOC_MODULE follows the scheme:
+# $name-$major.$minor
+# (to show the API online at developer.gnome.org)
+# So, add ".0".
+DOC_MODULE = gspell- GSPELL_API_VERSION@.0
# The top-level XML file (SGML in the past).
DOC_MAIN_SGML_FILE = gspell-docs.xml
@@ -45,11 +49,13 @@ FIXXREF_OPTIONS = \
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
# signals and properties.
GTKDOC_CFLAGS = -I$(top_srcdir) $(DEP_CFLAGS)
-GTKDOC_LIBS = $(top_builddir)/gspell/libgspell-1.la $(DEP_LIBS)
+GTKDOC_LIBS = \
+ $(top_builddir)/gspell/libgspell- GSPELL_API_VERSION@.la \
+ $(DEP_LIBS)
MAINTAINERCLEANFILES = \
- gspell-1.0-overrides.txt \
- gspell-1.0.types
+ $(DOC_MODULE)-overrides.txt \
+ $(DOC_MODULE).types
# include common portion ...
include $(top_srcdir)/gtk-doc.make
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]