[gspell] build: fix gtk-doc build issue
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] build: fix gtk-doc build issue
- Date: Sat, 14 May 2016 12:27:18 +0000 (UTC)
commit 6a01d1da0dd5fd957fda0d9be46c59bb1fda6b24
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 4169f14..55ff1a6 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 a2b18b5..97efc7a 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -62,17 +62,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]