[gtksourceviewmm] Avoid a tarball dependency on mm-common.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceviewmm] Avoid a tarball dependency on mm-common.
- Date: Sun, 27 Mar 2011 14:17:14 +0000 (UTC)
commit a8faf14f55b48b7f1792a7e1817604d5001e19c1
Author: Krzesimir Nowak <qdlacz gmail com>
Date: Sun Mar 27 16:06:37 2011 +0200
Avoid a tarball dependency on mm-common.
* configure.ac: Add a call to MM_CONFIG_DOCTOOL_DIR() telling it
to copy the files locally and use them from there.
* doc/Makefile.am: Dist the copied files, so that the build does
not try to use the versions installed by mm-common.
.gitignore | 6 ++++++
configure.ac | 5 +++++
docs/Makefile.am | 7 +++++++
3 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c0f87e3..03295b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,9 @@ stamp-*
*.pc
*~
.dirstamp
+
+# docs directory, files copied by mm-common
+/docs/doc-install.pl
+/docs/doc-postprocess.pl
+/docs/doxygen.css
+/docs/tagfile-to-devhelp2.xsl
diff --git a/configure.ac b/configure.ac
index 3684d0b..5a27c39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -16,6 +16,11 @@ AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
MM_PREREQ([0.9.4])
MM_INIT_MODULE([gtksourceviewmm-3.0])
+# Copy the mm-common .pl scripts into docs/,
+# and use them from there,
+# so we can dist them to avoid a tarball-build dependency.
+MM_CONFIG_DOCTOOL_DIR([docs])
+
AC_SUBST([GTKSOURCEVIEWMM_SO_VERSION], [0:0:0])
LT_INIT([win32-dll disable-static])
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 50f724a..da47ded 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -7,3 +7,10 @@ book_name = $(GTKSOURCEVIEWMM_MODULE_NAME)
doc_input = $(addprefix $(top_srcdir)/gtksourceview/gtksourceviewmm/,$(gtksourceviewmm_files_h)) $(top_srcdir)/gtksourceview/gtksourceviewmm.h
include $(top_srcdir)/build/doc-reference.am
+
+# These are copied here by mm-common:
+dist_noinst_DATA += \
+ doc-install.pl \
+ doc-postprocess.pl \
+ tagfile-to-devhelp2.xsl \
+ doxygen.css
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]