summaryrefslogtreecommitdiff
path: root/libdm
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-03-19 16:12:10 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-03-19 23:21:18 +0100
commite86798203e4d2775aa418db6a17b908de7e15130 (patch)
tree24647c8b93305555bc0ea478a3b2233f6c8b651f /libdm
parent48d04afaa2015fe285b2ae499b7f06d0b25ae00d (diff)
downloadlvm2-e86798203e4d2775aa418db6a17b908de7e15130.tar.gz
make: simplify dependency loading
No need for extra ifdefs around.
Diffstat (limited to 'libdm')
-rw-r--r--libdm/make.tmpl.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/libdm/make.tmpl.in b/libdm/make.tmpl.in
index 083fba9c3..549ef79d9 100644
--- a/libdm/make.tmpl.in
+++ b/libdm/make.tmpl.in
@@ -530,11 +530,7 @@ endif
ifeq ("@USE_TRACKING@","yes")
ifeq (,$(findstring $(MAKECMDGOALS),cscope.out cflow clean distclean lcov \
help check check_local check_cluster check_lvmpolld))
- ifdef SOURCES
- -include $(SOURCES:.c=.d) $(CXXSOURCES:.cpp=.d)
- endif
- ifdef SOURCES2
- -include $(SOURCES2:.c=.d)
- endif
+# Note: no tabs before -include
+ -include $(SOURCES:.c=.d) $(SOURCES2:.c=.d) $(CXXSOURCES:.cpp=.d)
endif
endif