mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* test/Makefile.in (SUBDIRS, subdir_template): Fix out-of-tree.
This commit is contained in:
parent
aa2625b36a
commit
fddc1a5377
1 changed files with 2 additions and 2 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue