aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPaul Eggert2017-05-30 09:27:33 -0700
committerPaul Eggert2017-05-30 09:28:19 -0700
commit1b01601d3f5d34a267c47e5d1208aa01730dd157 (patch)
tree20f3d5af4671d411e3c039ce8d7c755bbc839a98 /test
parent91a52e38e5194f19f0d44ae4c2ad88565b28a196 (diff)
downloademacs-1b01601d3f5d34a267c47e5d1208aa01730dd157.tar.gz
emacs-1b01601d3f5d34a267c47e5d1208aa01730dd157.zip
Skip .#* temporaries when finding sources
Without this patch, ‘make check’ can fail with the diagnostic ‘invalid syntax in conditional’ if there is an Emacs temporary file whose name starts with ‘.#’, because the ‘#’ is treated as the start of a Make comment. * lisp/Makefile.in (loaddefs, tagsfiles, check-defun-deps): * test/Makefile.in (ELFILES): Skip files starting with ‘.’, so that the .#* files do not cause trouble. (We cannot easily skip just files starting with ‘.#’, since ‘#’ starts a Make comment!)
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index c9065d90d1b..49a4dfdfd8d 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -138,7 +138,7 @@ ELFILES := $(shell find ${srcdir} -path "${srcdir}/manual" -prune -o \
138 -path "${srcdir}/data" -prune -o \ 138 -path "${srcdir}/data" -prune -o \
139 -name "*resources" -prune -o \ 139 -name "*resources" -prune -o \
140 ${maybe_exclude_module_tests} \ 140 ${maybe_exclude_module_tests} \
141 -name "*.el" -print) 141 -name "*.el" ! -name ".*" -print)
142## .log files may be in a different directory for out of source builds 142## .log files may be in a different directory for out of source builds
143LOGFILES := $(patsubst %.el,%.log, \ 143LOGFILES := $(patsubst %.el,%.log, \
144 $(patsubst $(srcdir)/%,%,$(ELFILES))) 144 $(patsubst $(srcdir)/%,%,$(ELFILES)))