[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master fddc1a5 4/5: * test/Makefile.in (SUBDIRS, subdir_template): Fix o
From: |
Glenn Morris |
Subject: |
master fddc1a5 4/5: * test/Makefile.in (SUBDIRS, subdir_template): Fix out-of-tree. |
Date: |
Sun, 9 May 2021 21:46:34 -0400 (EDT) |
branch: master
commit fddc1a537788c00a22e8c3a6161879ca8e39ad9f
Author: Glenn Morris <rgm@gnu.org>
Commit: Glenn Morris <rgm@gnu.org>
* test/Makefile.in (SUBDIRS, subdir_template): Fix out-of-tree.
---
test/Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/Makefile.in b/test/Makefile.in
index 84ab4e7..4bcfee7 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -245,13 +245,13 @@ endef
$(foreach test,${TESTS},$(eval $(call test_template,${test})))
## Get the tests for only a specific directory.
-SUBDIRS = $(sort $(shell find lib-src lisp misc src -type d ! -path
"*resources*" -print))
+SUBDIRS = $(sort $(shell cd ${srcdir} && find lib-src lisp misc src -type d !
-path "*resources*" -print))
define subdir_template
.PHONY: check-$(subst /,-,$(1))
check-$(subst /,-,$(1)):
@${MAKE} check LOGFILES="$(patsubst %.el,%.log, \
- $(patsubst $(srcdir)/%,%,$(wildcard $(1)/*.el)))"
+ $(patsubst $(srcdir)/%,%,$(wildcard ${srcdir}/$(1)/*.el)))"
endef
$(foreach subdir, $(SUBDIRS), $(eval $(call subdir_template,$(subdir))))
- master updated (25c775b -> aa354dd), Glenn Morris, 2021/05/09
- master 305e480 1/5: Base the "extraclean" Make rule on "maintainer-clean", Glenn Morris, 2021/05/09
- master fddc1a5 4/5: * test/Makefile.in (SUBDIRS, subdir_template): Fix out-of-tree.,
Glenn Morris <=
- master 988c891 2/5: Small fixes for Makefile clean rules, Glenn Morris, 2021/05/09
- master aa2625b 3/5: Small fixes for out-of-tree clean rules., Glenn Morris, 2021/05/09
- master aa354dd 5/5: * lib-src/Makefile.in (clean): Tidy up seccomp-filter files., Glenn Morris, 2021/05/09