From 282a9f1a148c8c9a241aba50a2c4a2b6b8d30431 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 2 Oct 2018 14:02:56 +0100 Subject: [PATCH] build: fix out-of-tree builds In out-of-tree builds without dependency tracking the src/ directory generally won't be created before genbuiltin tries to write into it. Fix the race by explicitly creating the directory. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 54df51c1..f700520a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -448,4 +448,5 @@ maintainer-clean-local: -rm -rf build-aux ell src/builtin.h: src/genbuiltin config.status + $(AM_V_at)$(MKDIR_P) $(@D) $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@