From 7d56c3d808319687c7de4887feb760c800f329ff Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Sat, 5 Aug 2017 20:03:38 +0200 Subject: [PATCH] Makefile.am: build top directory first This solves potential issues when tests run first and strace is rebuilt only after they have finished. As noted in [1], providing the current directory explicitly should help. [1] https://www.gnu.org/software/automake/manual/html_node/Subdirectories.html * Makefile.am (SUBDIRS): Prepend the current directory. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 92e80842..78379e5b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,7 +35,7 @@ endif if HAVE_MX32_RUNTIME TESTS_MX32 = tests-mx32 endif -SUBDIRS = tests $(TESTS_M32) $(TESTS_MX32) +SUBDIRS = . tests $(TESTS_M32) $(TESTS_MX32) bin_PROGRAMS = strace man_MANS = strace.1 -- 2.40.0