aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorGyörgy Balló <ballogy@freestart.hu>2011-11-20 02:17:19 +0100
committerGyörgy Balló <ballogy@freestart.hu>2011-11-20 02:17:19 +0100
commitc0ac60b8fc5a146e22412d90ba7f2a38d99c157b (patch)
treefbdc8212202be61b4841c8191c7ca4fdac28b51e /Makefile.am
parenta5c78749b6a655f3f54d2d9f69302b11d53a3059 (diff)
downloadlibayatana-indicator-c0ac60b8fc5a146e22412d90ba7f2a38d99c157b.tar.gz
libayatana-indicator-c0ac60b8fc5a146e22412d90ba7f2a38d99c157b.tar.bz2
libayatana-indicator-c0ac60b8fc5a146e22412d90ba7f2a38d99c157b.zip
Make building tests optional
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 3bd312e..807cad0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,13 +2,17 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = \
libindicator \
- tests \
tools
-tests: libindicator
-
tools: libindicator
+if WANT_TESTS
+SUBDIRS += \
+ tests
+
+tests: libindicator
+endif
+
DISTCHECK_CONFIGURE_FLAGS = --disable-deprecations
DISTCLEANFILES = \