summaryrefslogtreecommitdiff
path: root/common.each.head.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.each.head.mk')
-rw-r--r--common.each.head.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.each.head.mk b/common.each.head.mk
index 8a2a68d..937c13a 100644
--- a/common.each.head.mk
+++ b/common.each.head.mk
@@ -4,11 +4,13 @@ pkglibexecdir = $(libexecdir)/libretools
# Detect things about the directory we're in ####################################
+srcfiles-ignore/$(srcdir) = $(addsuffix /%,$(_am_subdirs/$(@D)))
+
ifeq ($(wildcard $(topsrcdir)/.git),)
include $(srcdir)/.srcfiles.mk
else
$(srcdir)/.srcfiles.mk: FORCE
- @echo am_src_files = $(filter-out $(addsuffix /%,$(_am_subdirs/$(@D))),$(shell cd $(@D) && git ls-files)) | $(write-ifchanged) $@
+ @echo srcfiles = $(filter-out $(srcfiles-ignore/$(@D)),$(shell cd $(@D) && git ls-files)) | $(write-ifchanged) $@
-include $(srcdir)/.srcfiles.mk
endif
@@ -21,6 +23,7 @@ detect-ignore-sh =
devtools-files =
+install-srcs = $(detect-all)
install-mans = $(patsubst %.ronn,%,$(detect-ronn))
install-bins = $(detect-exec)
install-libexecs =