generic: test for file loss after mix of rename, fsync and inode eviction
[xfstests-dev.git] / Makefile
index 9fd37e0cca54f8029d4613e64b749372be7aefd7..f6f91a4dde77294ceaebba257017fff48cd875d1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,8 @@ HAVE_BUILDDEFS = $(shell test -f $(TOPDIR)/include/builddefs && echo yes || echo
 
 ifeq ($(HAVE_BUILDDEFS), yes)
 include $(TOPDIR)/include/builddefs
+else
+export TESTS_DIR = tests
 endif
 
 SRCTAR = $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -39,14 +41,10 @@ endif
 
 LIB_SUBDIRS = include lib
 TOOL_SUBDIRS = ltp src m4 common
-ifeq ($(HAVE_DMAPI), true)
-TOOL_SUBDIRS += dmapi
-endif
 
-export TESTS_DIR = tests
 SUBDIRS = $(LIB_SUBDIRS) $(TOOL_SUBDIRS) $(TESTS_DIR)
 
-default: include/builddefs $(DMAPI_MAKEFILE)
+default: include/builddefs
 ifeq ($(HAVE_BUILDDEFS), no)
        $(Q)$(MAKE) $(MAKEOPTS) $@
 else