aboutsummaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-06 17:14:11 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-06 17:14:11 +0000
commitb578357e597470667b9bd7e0bd7583dffa205100 (patch)
treef6eb10256dc8ed49efd97d3497c7afc792b503d4 /subdir.mak
parent4335125cccf64ea3b59ac353696ef0afcb6d5667 (diff)
downloadffmpeg-b578357e597470667b9bd7e0bd7583dffa205100.tar.gz
Use mkdir -p to create directories
Originally committed as revision 22241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak8
1 files changed, 4 insertions, 4 deletions
diff --git a/subdir.mak b/subdir.mak
index 5774c6d76f..ed1d68833f 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -62,7 +62,7 @@ endif
endif
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
- install -d "$(SHLIBDIR)"
+ mkdir -p "$(SHLIBDIR)"
install -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
cd "$(SHLIBDIR)" && \
@@ -72,13 +72,13 @@ install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
$(SLIB_INSTALL_EXTRA_CMD)
install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
- install -d "$(LIBDIR)"
+ mkdir -p "$(LIBDIR)"
install -m 644 $$< "$(LIBDIR)"
$(LIB_INSTALL_EXTRA_CMD)
install-headers::
- install -d "$(INCINSTDIR)"
- install -d "$(LIBDIR)/pkgconfig"
+ mkdir -p "$(INCINSTDIR)"
+ mkdir -p "$(LIBDIR)/pkgconfig"
install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
ifdef BUILT_HEADERS
install -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)"