summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
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