[librsvgmm] Tweak variable syntax to reenable Automake magic
- From: Daniel Elstner <daniel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [librsvgmm] Tweak variable syntax to reenable Automake magic
- Date: Wed, 19 Aug 2009 21:49:41 +0000 (UTC)
commit b397e5f2f484e16c8e1c77101cf495fcafd4177a
Author: Daniel Elstner <daniel kitta gmail com>
Date: Wed Aug 19 23:42:45 2009 +0200
Tweak variable syntax to reenable Automake magic
* configure.ac (AC_CONFIG_FILES): Use ${LIBRSVGMM_MODULE_NAME} instead
of $LIBRSVGMM_MODULE_NAME to reference variables, since the former is
also supported in Makefiles. This reenables the automatic cleanup and
distribution by Automake even for indirectly derived filenames.
Makefile.am | 4 ----
configure.ac | 4 ++--
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index a0442a3..a0c228f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -35,8 +35,4 @@ dist_noinst_SCRIPTS = autogen.sh
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = librsvg/$(LIBRSVGMM_MODULE_NAME).pc
-DISTCLEANFILES = \
- librsvg/$(LIBRSVGMM_MODULE_NAME).pc \
- librsvg/$(LIBRSVGMM_MODULE_NAME)-uninstalled.pc
-
include $(top_srcdir)/build/dist-changelog.am
diff --git a/configure.ac b/configure.ac
index 00d21ed..9db3b86 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,8 +59,8 @@ MM_ARG_ENABLE_WARNINGS([LIBRSVGMM_WXXFLAGS],
AC_CONFIG_FILES([Makefile
codegen/Makefile
- librsvg/$LIBRSVGMM_MODULE_NAME.pc:librsvg/librsvgmm.pc.in
- librsvg/$LIBRSVGMM_MODULE_NAME-uninstalled.pc:librsvg/librsvgmm-uninstalled.pc.in
+ librsvg/${LIBRSVGMM_MODULE_NAME}.pc:librsvg/librsvgmm.pc.in
+ librsvg/${LIBRSVGMM_MODULE_NAME}-uninstalled.pc:librsvg/librsvgmm-uninstalled.pc.in
librsvg/src/Makefile
librsvg/librsvgmm/Makefile
doc/Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]