[gspell] build: override gtk-doc.make recipe for the -sections.txt target
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] build: override gtk-doc.make recipe for the -sections.txt target
- Date: Sun, 13 Mar 2016 10:36:24 +0000 (UTC)
commit d5e3ee65635a8785bc5d0b2ed39eab09b5b44e68
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Mar 13 11:17:19 2016 +0100
build: override gtk-doc.make recipe for the -sections.txt target
configure.ac | 1 -
docs/reference/Makefile.am | 5 +++++
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a29ce2a..4ee1d68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -206,7 +206,6 @@ AC_CONFIG_FILES([
Makefile
docs/Makefile
docs/reference/gspell-docs.xml
- docs/reference/gspell-${GSPELL_API_VERSION}.0-sections.txt:docs/reference/gspell-sections.txt.in
docs/reference/Makefile
gspell/Makefile
gspell/resources/Makefile
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 67bf7ae..2dfab5d 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -60,6 +60,11 @@ 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]