From: Jeremy Whiting Date: Fri, 6 Jul 2012 20:21:02 +0000 (-0600) Subject: Add gir and .vapi files to DISTCLEANFILES if not building a release X-Git-Tag: FOLKS_0_7_4_1~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9f16d291d1053e15f968dd23403f0c12573d9b8;p=platform%2Fupstream%2Ffolks.git Add gir and .vapi files to DISTCLEANFILES if not building a release Closes: https://bugzilla.gnome.org/show_bug.cgi?id=643128 --- 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 \