summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2016-02-07 21:31:09 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2016-02-07 21:31:09 +0100
commit237e3edb5a107d0928326ded5df3b0145f184ba4 (patch)
treea44daaf208dd2691ae00bb7e9041e383ab608815
parent13431c9e425d93f61a7fc16f99f8d8c6e71ed82b (diff)
Don't build test directory if we disabled tests
Change-Id: Ibdf7dfa89186bc1b352601cb423a8dcd4809ecd6
-rw-r--r--src/Makefile.am6
1 files changed, 5 insertions, 1 deletions
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