[clutter] build: Ensure libdir exists before installing to it



commit 6f8f8295c053bb8b61e83422d7e105b12ed0401c
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 3 14:42:07 2011 -0400

    build: Ensure libdir exists before installing to it

 clutter/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index 2737c73..e18e08c 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -770,6 +770,7 @@ libclutter_ CLUTTER_API_VERSION@_la_LDFLAGS = \
 	$(NULL)
 
 install-exec-local:
+	test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
 	for lib in `echo $(compat_libs)`; do \
 	  (cd $(DESTDIR)$(libdir) && \
 	    rm -f $$lib.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION); \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]