[gspell/gspell-1-0] build: fix gtk-doc build issue
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell/gspell-1-0] build: fix gtk-doc build issue
- Date: Sat, 14 May 2016 12:29:12 +0000 (UTC)
commit e188000f1a801f7229f15202d99737cd4df8986a
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat May 14 14:24:43 2016 +0200
build: fix gtk-doc build issue
https://bugzilla.gnome.org/show_bug.cgi?id=766400
configure.ac | 6 +++++-
docs/reference/Makefile.am | 14 ++------------
...ell-sections.txt.in => gspell-1.0-sections.txt} | 0
3 files changed, 7 insertions(+), 13 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e0d0c91..1272c83 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,11 @@ GSPELL_LT_VERSION="$GSPELL_LT_CURRENT:$GSPELL_LT_REVISION:$GSPELL_LT_AGE"
AC_SUBST(GSPELL_LT_VERSION)
# API version, used for parallel installability.
-# Not used in po/, it causes a builddir != srcdir build issue.
+# Not used in:
+# - po/Makevars
+# - the docs/reference/gspell-1.0-sections.txt filename
+# Because as far as I've tested, it is not easily feasible to not hardcode the
+# API version in those places (swilmet).
GSPELL_API_VERSION=1
AC_SUBST(GSPELL_API_VERSION)
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 947ca7b..10b8673 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -61,17 +61,7 @@ MAINTAINERCLEANFILES = \
# include common portion ...
include $(top_srcdir)/gtk-doc.make
-# gtk-doc.make has already a recipe for the $(DOC_MODULE)-sections.txt target.
-# So override it here.
-$(builddir)/$(DOC_MODULE)-sections.txt: Makefile $(srcdir)/gspell-sections.txt.in
- $(AM_V_GEN) cp $(srcdir)/gspell-sections.txt.in $@
-
-EXTRA_DIST += \
- gspell-docs.xml.in \
- gspell-sections.txt.in
-
-DISTCLEANFILES = \
- gspell-docs.xml \
- gspell- GSPELL_API_VERSION@.0-sections.txt
+EXTRA_DIST += gspell-docs.xml.in
+DISTCLEANFILES = gspell-docs.xml
-include $(top_srcdir)/git.mk
diff --git a/docs/reference/gspell-sections.txt.in b/docs/reference/gspell-1.0-sections.txt
similarity index 100%
rename from docs/reference/gspell-sections.txt.in
rename to docs/reference/gspell-1.0-sections.txt
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]