projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8de63
)
build-sys: use MKDIR_P
author
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Fri, 23 Dec 2011 03:59:31 +0000
(
01:59
-0200)
committer
Lucas De Marchi
<lucas.demarchi@profusion.mobi>
Fri, 23 Dec 2011 03:59:31 +0000
(
01:59
-0200)
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
05cbb7e
..
6d598e3
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-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 && \