summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2018-04-27 15:12:15 +0100
committerJoe Thornber <ejt@redhat.com>2018-04-27 15:12:15 +0100
commitf8f621951315087c4e7720682be495941dc3cf37 (patch)
treea4822e1a153087928ce67d12752b681b547d5503 /make.tmpl.in
parent54856b2965f4dc9fa05201af6407c1ed89577bb8 (diff)
downloadlvm2-f8f621951315087c4e7720682be495941dc3cf37.tar.gz
build: Stop creating the symlinks in include/ on the fly.
Git handles symlinks, tar handles symlinks. So I've just put the links themselves into git. This simplifies dependencies a little, and stop some build loops I was hitting.
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 75134caa7..f9b3d0e52 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -309,10 +309,8 @@ LIB_VERSION_APP := $(shell $(AWK) -F '[(). ]' '{printf "%s.%s",$$1,$$4}' $(top_s
INCLUDES += -I$(srcdir) -I$(top_builddir)/include
-INC_LNS = $(top_builddir)/include/.symlinks_created
-
DEPS = $(top_builddir)/make.tmpl $(top_srcdir)/VERSION \
- $(top_builddir)/Makefile $(INC_LNS)
+ $(top_builddir)/Makefile
OBJECTS = $(SOURCES:%.c=%.o) $(CXXSOURCES:%.cpp=%.o)
POTFILES = $(SOURCES:%.c=%.pot)
@@ -505,7 +503,7 @@ $(LIB_STATIC): $(OBJECTS)
$(Q) $(RM) $@
$(Q) $(AR) rsv $@ $(OBJECTS) > /dev/null
-%.d: %.c $(INC_LNS)
+%.d: %.c
@echo " [DEP] $<"
$(Q) $(MKDIR_P) $(dir $@); \
set -e; \