[aisleriot] build: Dist and install the valgrind suppressions
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] build: Dist and install the valgrind suppressions
- Date: Sun, 5 Feb 2012 18:30:46 +0000 (UTC)
commit c9faadd5a21b76bc43ebc8032410c048293af142
Author: Christian Persch <chpe gnome org>
Date: Sun Feb 5 19:30:17 2012 +0100
build: Dist and install the valgrind suppressions
configure.ac | 9 +++++++++
data/Makefile.am | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c26f2b7..6beec4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -571,6 +571,15 @@ YELP_HELP_INIT([3.1.1],
AM_CONDITIONAL([BUILD_HELP],[test "$with_help_method" = "ghelp"])
+# ********
+# Valgrind
+# ********
+
+AC_ARG_WITH([valgrind-dir],
+ [AC_HELP_STRING([--with-valgrind-dir=PATH],[directory to install Valgrind suppressions to])],
+ [],[with_valgrind_dir='${libdir}/valgrind'])
+AC_SUBST([valgrinddir],[$with_valgrind_dir])
+
##############################################
AC_SUBST([AM_CPPFLAGS])
diff --git a/data/Makefile.am b/data/Makefile.am
index 2d25176..7f45c87 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -22,7 +22,7 @@ desktop_in_files = \
desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
-EXTRA_DIST = \
+dist_valgrind_DATA = \
aisleriot.supp \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]