[glom] Require the latest mm-common and dist the mm-common scripts.



commit 57f92effe104a572faaacd3098b2600c78425471
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Apr 4 11:47:30 2011 +0200

    Require the latest mm-common and dist the mm-common scripts.
    
    * configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call so that the scripts will
    be distributed with the tarball, avoiding a runtime dependency on mm-common.

 ChangeLog    |    7 +++++++
 configure.ac |   10 +++++++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4eaa093..7b713b1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-04-04  Murray Cumming  <murrayc murrayc com>
+
+	Require the latest mm-common and dist the mm-common scripts.
+
+	* configure.ac: Add a MM_CONFIG_DOCTOOL_DIR() call so that the scripts will
+	be distributed with the tarball, avoiding a runtime dependency on mm-common.
+
 2011-03-30  Murray Cumming  <murrayc murrayc com>
 
 	Adapt to the recent gtksourceviewmm API change.
diff --git a/configure.ac b/configure.ac
index 45fa6ae..1302436 100644
--- a/configure.ac
+++ b/configure.ac
@@ -198,8 +198,16 @@ AC_DEFINE_UNQUOTED([ISO_CODES_PREFIX], ["$ISO_CODES_PREFIX"],
                    [Define to the installation prefix of the iso-codes module.])
 
 
+# Allow use of mm-common macros for the warnings option and for installing developer documentation.
+MM_PREREQ([0.9.5])
+MM_INIT_MODULE([libglom-1.20])
+
+# 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/libglom_reference])
+
 # Evaluate the --enable-warnings=level option.
-MM_PREREQ([0.8])
 AC_LANG([C])
 MM_ARG_ENABLE_WARNINGS([GLOM_WFLAGS],
                        [-Wall],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]