[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master da25daf7f7: Make test/Makefile more robust
From: |
Michael Albinus |
Subject: |
master da25daf7f7: Make test/Makefile more robust |
Date: |
Wed, 27 Apr 2022 08:13:32 -0400 (EDT) |
branch: master
commit da25daf7f74cfab558eb0f796d2fe33e6c4f06dd
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Make test/Makefile more robust
* test/Makefile.in (test_template): Do not fails if corresponding
source file doesn't exist.
---
test/Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/Makefile.in b/test/Makefile.in
index 3b6e116e65..9c61da9dde 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -221,9 +221,9 @@ define test_template
## The similar name is FOO.c if FOO begins with '{lib-,}src/', FOO.el
## otherwise. Although this heuristic does not identify all the
## dependencies, it is better than nothing.
+ srcfile = $(patsubst %-tests,$(srcdir)/../%,$(1))$(if $(patsubst
src/%,,$(patsubst lib-src/%,,$(1))),.el,.c)
ifeq (,$(patsubst %-tests,,$(1))$(findstring -tests/,$(1)))
- $(1).log: $(patsubst %-tests,$(srcdir)/../%,$(1))$(if \
- $(patsubst src/%,,$(patsubst
lib-src/%,,$(1))),.el,.c)
+ $(1).log: $(srcfile)
$(notdir $(1).log): $(1).log
endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master da25daf7f7: Make test/Makefile more robust,
Michael Albinus <=