summaryrefslogtreecommitdiff
path: root/test/Makefile.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-06-25 13:09:22 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-06-25 15:28:09 -0500
commitb0ed2d1f46d27885a19ae6941b6ea5276f0050e0 (patch)
treef19565596d157e4b1c135f22a949b102b851a5c7 /test/Makefile.in
parent250a5e8bdde09c7e7d67bc006c469964de7474bb (diff)
downloademacs-b0ed2d1f46d27885a19ae6941b6ea5276f0050e0.tar.gz
Port test SUBDIRS to Solaris 10
* test/Makefile.in (SUBDIRS): Port to traditional ‘find’, which lacks -path.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 3b6e116e65f..67162c48838 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -240,7 +240,8 @@ $(foreach test,${TESTS},$(eval $(call test_template,${test})))
## Get the tests for only a specific directory.
SUBDIRS = $(sort $(shell cd ${srcdir} && find lib-src lisp misc src -type d \
- ! \( -path "*resources*" -o -path "*auto-save-list" \) -print))
+ \( -name '*resources*' -prune \
+ -o ! -name '*auto-save-list' -print \)))
SUBDIR_TARGETS =
define subdir_template