[folks] Add gir and .vapi files to DISTCLEANFILES if not building a release
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Add gir and .vapi files to DISTCLEANFILES if not building a release
- Date: Tue, 14 Aug 2012 20:02:59 +0000 (UTC)
commit c9f16d291d1053e15f968dd23403f0c12573d9b8
Author: Jeremy Whiting <jpwhiting kde org>
Date: Fri Jul 6 14:21:02 2012 -0600
Add gir and .vapi files to DISTCLEANFILES if not building a release
Closes: https://bugzilla.gnome.org/show_bug.cgi?id=643128
backends/telepathy/lib/Makefile.am | 4 ++++
configure.ac | 2 ++
tests/lib/telepathy/contactlist/Makefile.am | 4 ++++
3 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/backends/telepathy/lib/Makefile.am b/backends/telepathy/lib/Makefile.am
index 103f3de..5d04519 100644
--- a/backends/telepathy/lib/Makefile.am
+++ b/backends/telepathy/lib/Makefile.am
@@ -98,6 +98,10 @@ dist_noinst_DATA = \
tp-lowlevel.vapi \
$(NULL)
+if NOT_RELEASE
+DISTCLEANFILES = $(dist_noinst_DATA)
+endif
+
folks_telepathy_valasources = \
tpf-persona.vala \
tpf-persona-store.vala \
diff --git a/configure.ac b/configure.ac
index 6394bde..dc5f4a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -291,6 +291,8 @@ AM_CONDITIONAL([HAVE_VALA], [test "x$enable_vala" = "xyes"])
AC_CHECK_FUNCS([memset])
AC_CHECK_FUNCS([strstr])
+AM_CONDITIONAL([NOT_RELEASE], [test "x$folks_released" = "x0"])
+
# -----------------------------------------------------------
# Backends
# -----------------------------------------------------------
diff --git a/tests/lib/telepathy/contactlist/Makefile.am b/tests/lib/telepathy/contactlist/Makefile.am
index e429abc..368364e 100644
--- a/tests/lib/telepathy/contactlist/Makefile.am
+++ b/tests/lib/telepathy/contactlist/Makefile.am
@@ -102,6 +102,10 @@ DISTCLEANFILES = \
session.conf \
$(NULL)
+if NOT_RELEASE
+DISTCLEANFILES += $(dist_noinst_DATA)
+endif
+
EXTRA_DIST = \
manager-file.py \
session.conf.in \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]