summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJuan A. Suarez Romero <jasuarez@igalia.com>2011-01-27 18:20:50 +0000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2011-01-27 18:21:41 +0000
commitae0389d29c50a0edd56f362537c80313c0034cca (patch)
tree0f918150c52146153cb3e3ffbdbe30bd251ad100 /Makefile.am
parentbbe342f5e5e80108f076dcdc5672353bebcf6921 (diff)
build: add option to build tests
Add "--enable-tests" to build tests.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7b245bd..a802535 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,11 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = src libs bindings tools tests
+SUBDIRS = src libs bindings tools
+
+if ENABLE_TESTS
+SUBDIRS += tests
+endif
if ENABLE_GTK_DOC
SUBDIRS += doc