summaryrefslogtreecommitdiff
path: root/util/mm-common-util.pc.in
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2011-03-15 09:49:37 +0100
committerMurray Cumming <murrayc@murrayc.com>2011-03-15 09:54:47 +0100
commit5600e5fe3c6a8402c752caeb5e979bb6daab6b2c (patch)
treeb3209dbb84cc42c1772aca43d3cdf6bc0396948b /util/mm-common-util.pc.in
parent2aa27a46e2defc1fc5cfb4fb793b4cabaf6d7f18 (diff)
downloadmm-common-5600e5fe3c6a8402c752caeb5e979bb6daab6b2c.tar.gz
Add mm-common-util.pc so we can get doc utils from mm-common.
* util/mm-common-util.pc.in: Added this file, with the path to the installed doctool/*.pl files. * configure.ac: * Makefile.am: Generate and install the .pc file. * macros/mm-doc.m4: Use the mm-common-util .pc file, not the glibmm-2.4 one. Previously, glibmm installed a copy that it got from mm-common-prepare and other modules then asked glibmm where to find its copy. That was probably for backwards compatibility. But we break stuff with gtkmm 3 anyway, so now is a good time to avoid the duplication by requiring modules to get it from mm-common instead. Actually this should only require a rerun of autogen.sh, because mm-common's own MM_CONFIG_DOCTOOL_DIR macro is what gets the path to these utils. Removing the hard-coding of glibmm-2.4 will also help us when we eventually break the glibmm ABI.
Diffstat (limited to 'util/mm-common-util.pc.in')
-rw-r--r--util/mm-common-util.pc.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/util/mm-common-util.pc.in b/util/mm-common-util.pc.in
new file mode 100644
index 0000000..218ae6e
--- /dev/null
+++ b/util/mm-common-util.pc.in
@@ -0,0 +1,9 @@
+prefix=@prefix@
+datadir=@datadir@
+
+doctooldir=${datadir}/mm-common/doctool
+
+Name: mm-common-util
+Description: mm-common's doctool build utilities for the GNOME C++ bindings.
+Version: @PACKAGE_VERSION@
+URL: http://www.gtkmm.org/