From 5600e5fe3c6a8402c752caeb5e979bb6daab6b2c Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Tue, 15 Mar 2011 09:49:37 +0100 Subject: 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4bff261..8aac875 100644 --- a/configure.ac +++ b/configure.ac @@ -39,5 +39,6 @@ AC_CONFIG_FILES([Makefile doctags/mm-common-libstdc++.pc doctags/mm-common-libstdc++-uninstalled.pc macros/mm-common.m4 + util/mm-common-util.pc util/mm-common-prepare]) AC_OUTPUT -- cgit v1.2.1