summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent4335125cccf64ea3b59ac353696ef0afcb6d5667 (diff)
Use mkdir -p to create directories
Originally committed as revision 22241 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 508e1c89d5..939ebc1175 100644
--- a/Makefile
+++ b/Makefile
@@ -104,15 +104,15 @@ doc/%.1: doc/%.pod
install: $(INSTALL_TARGETS-yes)
install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
- install -d "$(BINDIR)"
+ mkdir -p "$(BINDIR)"
install -c -m 755 $(PROGS) "$(BINDIR)"
install-data: $(DATA_FILES)
- install -d "$(DATADIR)"
+ mkdir -p "$(DATADIR)"
install -m 644 $(DATA_FILES) "$(DATADIR)"
install-man: $(MANPAGES)
- install -d "$(MANDIR)/man1"
+ mkdir -p "$(MANDIR)/man1"
install -m 644 $(MANPAGES) "$(MANDIR)/man1"
uninstall: uninstall-progs uninstall-data uninstall-man