Commit e9e4a60d7e18c103be6df33cbbeaf249578a1ac5

Guillem Jover 2012-06-01T08:15:00

build: Use MKDIR_P variable instead of literal «mkdir -p»

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/Makefile.am b/src/Makefile.am
index ec56b93..22bfd1f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -75,7 +75,7 @@ libbsd_la_SOURCES = \
 
 install-exec-hook:
 	if [ "$(libdir)" != "$(runtimelibdir)" ]; then \
-		mkdir -p $(DESTDIR)$(runtimelibdir); \
+		$(MKDIR_P) $(DESTDIR)$(runtimelibdir); \
 		mv $(DESTDIR)$(libdir)/libbsd*.so.* \
 		   $(DESTDIR)$(runtimelibdir)/; \
 		soname=`readlink $(DESTDIR)$(libdir)/libbsd.so`; \