From: Michał Górny Date: Wed, 19 Jul 2023 08:22:25 +0000 (+0200) Subject: Makefile: add mkdirs for all */test/list.h targets (#1923) X-Git-Tag: v3.7.1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4956ba356bd01948e63949c1f9ef2bfa19bf897c;p=thirdparty%2Flibarchive.git 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. --- 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