]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
build-sys: use MKDIR_P
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 23 Dec 2011 03:59:31 +0000 (01:59 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 23 Dec 2011 03:59:31 +0000 (01:59 -0200)
Makefile.am

index 05cbb7e09ad23fc469d6492c7d3c503289d3a21b..6d598e34853b9732605a2f58ee81995b8be3778d 100644 (file)
@@ -70,7 +70,7 @@ CLEANFILES += libkmod/libkmod.pc
 
 install-exec-hook:
        if test "$(libdir)" != "$(rootlibdir)"; then \
-               mkdir -p $(DESTDIR)$(rootlibdir) && \
+               $(MKDIR_P) $(DESTDIR)$(rootlibdir) && \
                so_img_name=$$(readlink $(DESTDIR)$(libdir)/libkmod.so) && \
                so_img_rel_target_prefix=$$(echo $(libdir) | sed 's,\(^/\|\)[^/][^/]*,..,g') && \
                ln -sf $$so_img_rel_target_prefix$(rootlibdir)/$$so_img_name $(DESTDIR)$(libdir)/libkmod.so && \