* 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.lattar...@gmail.com>
---
 bin/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/Makefile.inc b/bin/Makefile.inc
index 280fff0..5842b71 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.
-- 
1.8.3.rc2


Reply via email to