]> granicus.if.org Git - strace/commitdiff
Makefile.am: build top directory first
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 5 Aug 2017 18:03:38 +0000 (20:03 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sat, 5 Aug 2017 21:26:35 +0000 (21:26 +0000)
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

index 92e80842cc47f358d93f3f10f51bf1b62c8bcc3d..78379e5ba22562c225c638a39a4ac0894c768be0 100644 (file)
@@ -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