From 4956ba356bd01948e63949c1f9ef2bfa19bf897c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 19 Jul 2023 10:22:25 +0200 Subject: [PATCH] Makefile: add mkdirs for all */test/list.h targets (#1923) Add missing mkdir calls to `cat/test/list.h` and `unzip/test/list.h` invocations, making them consistent with the other rules. Otherwise, the build fails when configured with `--disable-dependency-tracking`, as configure does not create the directories automatically then. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 7f0198a40..b93f12320 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1417,6 +1417,7 @@ bsdcat_test_CPPFLAGS= \ bsdcat_test_LDADD=libarchive_fe.la cat/test/list.h: Makefile + $(MKDIR_P) cat/test cat $(top_srcdir)/cat/test/test_*.c | grep '^DEFINE_TEST' > cat/test/list.h if BUILD_BSDCAT @@ -1520,6 +1521,7 @@ bsdunzip_test_CPPFLAGS= \ bsdunzip_test_LDADD=libarchive_fe.la unzip/test/list.h: Makefile + $(MKDIR_P) unzip/test cat $(top_srcdir)/unzip/test/test_*.c | grep '^DEFINE_TEST' > unzip/test/list.h if BUILD_BSDUNZIP -- 2.47.2