From b646f4976bee81dcf378a63753704714fa9fff1d Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 19 Apr 2011 14:32:21 +0200 Subject: [PATCH] make sure destination for GDB module exists before installing Usually, this directory already exists because the library has been copied there, but during a parallel make install this may not have happened yet. Reported-by: dirtyepic Signed-off-by: Sven Verdoolaege --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 55b51ae..be7844e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -228,4 +228,5 @@ install-data-local: $(srcdir)/isl.py '') echo Cannot find isl library name. GDB bindings not installed.;; \ *) echo $(INSTALL_DATA) $(srcdir)/isl.py \ $(DESTDIR)$(libdir)/$$libisl-gdb.py; \ + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"; \ $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac -- 2.7.4