summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBobMauchin <zebob.m@gmail.com>2011-10-10 17:15:58 -0400
committerRobert Ancell <robert.ancell@canonical.com>2011-10-10 17:15:58 -0400
commit883b911285c23cc5bfe99812c4b925df36e8ae25 (patch)
treebdac7df87d97f5512b021baf6024d8100e6ed773 /Makefile.am
parent357e4e535d83260489a6c2b35f36ed03f5206d94 (diff)
downloadlightdm-git-883b911285c23cc5bfe99812c4b925df36e8ae25.tar.gz
Add a --disable-tests option
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1143c076..d7312c90 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,7 +5,10 @@ endif
if COMPILE_LIBLIGHTDM_QT
SUBDIRS += liblightdm-qt
endif
-SUBDIRS += data greeters po src doc tests utils
+if COMPILE_TESTS
+SUBDIRS += tests
+endif
+SUBDIRS += data greeters po src doc utils
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection --enable-gtk-doc