Makefile: replace TESTS glob with find command

This commit is contained in:
Henrik Lissner 2017-04-12 09:19:19 -04:00
parent c18847c696
commit 4e5a1d2ed2

View file

@ -2,7 +2,7 @@
EMACS_LIBS=-l core/core.el
EMACS=emacs --batch --eval '(setq user-emacs-directory default-directory)' $(EMACS_LIBS)
TEST_EMACS=$(EMACS) --eval '(setq noninteractive nil)' $(EMACS_LIBS)
TESTS=$(patsubst %,-l %, $(wildcard test/**/test-*.el))
TESTS=$(patsubst %,-l %, $(shell find test/ -type f -name 'test-*.el'))
# Tasks
all: autoloads install update