summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2013-05-14 12:12:44 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2013-05-14 12:12:44 +0200
commite142bcb0e2f29ff444195c5ea934b834dc63d048 (patch)
tree91934ceee1814ebf4301792539c1c6124372e3a1
parentc148dc73a92c1df5e70a61e9495e62c010090bd4 (diff)
downloadautomake-e142bcb0e2f29ff444195c5ea934b834dc63d048.tar.gz
automake-e142bcb0e2f29ff444195c5ea934b834dc63d048.tar.bz2
automake-e142bcb0e2f29ff444195c5ea934b834dc63d048.zip
build: fixup for building in a VPATH setup
* bin/Makefile.inc (%D%/automake, %D%/aclocal): Make sure that the directory where the targets scripts are going to be built exists, before trying to create said scripts. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
-rw-r--r--bin/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/Makefile.inc b/bin/Makefile.inc
index 280fff002..5842b7109 100644
--- a/bin/Makefile.inc
+++ b/bin/Makefile.inc
@@ -56,6 +56,7 @@ uninstall-hook:
%D%/aclocal: %D%/aclocal.in
%D%/automake %D%/aclocal: Makefile %D%/gen-perl-protos
$(AM_V_GEN)rm -f $@ $@-t $@-t2 \
+ && $(MKDIR_P) $(@D) \
## Common substitutions.
&& in=$@.in && $(do_subst) <$(srcdir)/$$in >$@-t \
## Auto-compute prototypes of perl subroutines.