From 51d56a60a57013eff05fdc17be1609a94d4d492d Mon Sep 17 00:00:00 2001 From: Darshit Shah Date: Thu, 9 Jan 2020 21:34:07 +0100 Subject: [PATCH] Fix Makefile for out-of-tree builds When comiling Jitter in an out-of-tree build in submodule mode, the build process for Jitter fails. This happens because the touch command for the documentation fails as the directory doesn't already exist. This patch will ensure that the requisite directory exists before running touch. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.am b/Makefile.am index 5677426..d6f9a10 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1732,8 +1732,10 @@ if JITTER_SUBPACKAGE # Unfortunately it does not seem to be possible to disable TEXINFOS from # Automake conditionals, but this workaround is easy. doc/jitter.info: + $(MKDIR_P) `dirname "$@"` touch "$@" example-vms/jitterlisp/doc/jitterlisp.info: + $(MKDIR_P) `dirname "$@"` touch "$@" info: doc/jitter.info example-vms/jitterlisp/doc/jitterlisp.info endif # JITTER_SUBPACKAGE -- 2.24.1