From 237e3edb5a107d0928326ded5df3b0145f184ba4 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Sun, 7 Feb 2016 21:31:09 +0100 Subject: Don't build test directory if we disabled tests Change-Id: Ibdf7dfa89186bc1b352601cb423a8dcd4809ecd6 --- src/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 2cf2099..c9dad75 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,8 @@ -SUBDIRS = lib test +SUBDIRS = lib + +if ENABLE_TESTS +SUBDIRS += test +endif if BUILD_TOOLS SUBDIRS += conv -- cgit v1.2.3