--- a/Makefile.am
+++ b/Makefile.am
@@ -1,10 +1,2 @@
 SUBDIRS=build man src test tools scripts packaging lib
 ACLOCAL_AMFLAGS += -I build/m4
-
-if UNITTESTS
-SUBDIRS += unittests
-endif
-
-if BUILD_DOCS
-SUBDIRS += docs
-endif