From: Stefano Lattarini Date: Tue, 14 May 2013 10:12:44 +0000 (+0200) Subject: build: fixup for building in a VPATH setup X-Git-Tag: v1.13b~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e142bcb0e2f29ff444195c5ea934b834dc63d048;p=thirdparty%2Fautomake.git 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 --- 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.