From 74f7670af1848a814568d570d2306ed93ece1a6c Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Fri, 2 Sep 2011 09:50:03 -0500 Subject: Make building tests optional --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index c2c0980..81a2cbb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,11 +3,15 @@ EXTRA_DIST = \ COPYING-GPL3 \ m4/introspection.m4 +if WANT_TESTS +TESTS_SUBDIR = tests +endif + SUBDIRS = \ libdbusmenu-glib \ libdbusmenu-gtk \ tools \ - tests \ + $(TESTS_SUBDIR) \ docs \ po -- cgit v1.2.3