summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2018-07-01 15:16:18 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2018-07-02 10:21:42 +0200
commit52b07672f867a4ec695ab1eff277f0a7f7d88087 (patch)
tree5666344b1d1d51c82263212e01ffa14f01ddc720 /test/unit
parent29b9ccd261be025aaf75e58e5d2547e818ef22c3 (diff)
downloadlvm2-52b07672f867a4ec695ab1eff277f0a7f7d88087.tar.gz
build: avoid rebuild deps for top-level makefiles
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/unit/Makefile b/test/unit/Makefile
index 9155c4763..6fb640165 100644
--- a/test/unit/Makefile
+++ b/test/unit/Makefile
@@ -43,4 +43,9 @@ run-unit-test: test/unit/unit-test
@echo Running unit tests
LD_LIBRARY_PATH=libdm test/unit/unit-test run
--include $(UNIT_DEPENDS)
+ifeq ("$(USE_TRACKING)","yes")
+ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov \
+ help check check_local check_cluster check_lvmetad check_lvmpolld))
+ -include $(UNIT_DEPENDS)
+endif
+endif