mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Use mkdir -p to create directories
Originally committed as revision 22241 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4335125ccc
commit
b578357e59
6
Makefile
6
Makefile
@ -104,15 +104,15 @@ doc/%.1: doc/%.pod
|
|||||||
install: $(INSTALL_TARGETS-yes)
|
install: $(INSTALL_TARGETS-yes)
|
||||||
|
|
||||||
install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
|
install-progs: $(PROGS) $(INSTALL_PROGS_TARGETS-yes)
|
||||||
install -d "$(BINDIR)"
|
mkdir -p "$(BINDIR)"
|
||||||
install -c -m 755 $(PROGS) "$(BINDIR)"
|
install -c -m 755 $(PROGS) "$(BINDIR)"
|
||||||
|
|
||||||
install-data: $(DATA_FILES)
|
install-data: $(DATA_FILES)
|
||||||
install -d "$(DATADIR)"
|
mkdir -p "$(DATADIR)"
|
||||||
install -m 644 $(DATA_FILES) "$(DATADIR)"
|
install -m 644 $(DATA_FILES) "$(DATADIR)"
|
||||||
|
|
||||||
install-man: $(MANPAGES)
|
install-man: $(MANPAGES)
|
||||||
install -d "$(MANDIR)/man1"
|
mkdir -p "$(MANDIR)/man1"
|
||||||
install -m 644 $(MANPAGES) "$(MANDIR)/man1"
|
install -m 644 $(MANPAGES) "$(MANDIR)/man1"
|
||||||
|
|
||||||
uninstall: uninstall-progs uninstall-data uninstall-man
|
uninstall: uninstall-progs uninstall-data uninstall-man
|
||||||
|
@ -62,7 +62,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
|
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
|
||||||
install -d "$(SHLIBDIR)"
|
mkdir -p "$(SHLIBDIR)"
|
||||||
install -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
|
install -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
|
||||||
$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
|
$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
|
||||||
cd "$(SHLIBDIR)" && \
|
cd "$(SHLIBDIR)" && \
|
||||||
@ -72,13 +72,13 @@ install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
|
|||||||
$(SLIB_INSTALL_EXTRA_CMD)
|
$(SLIB_INSTALL_EXTRA_CMD)
|
||||||
|
|
||||||
install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
|
install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
|
||||||
install -d "$(LIBDIR)"
|
mkdir -p "$(LIBDIR)"
|
||||||
install -m 644 $$< "$(LIBDIR)"
|
install -m 644 $$< "$(LIBDIR)"
|
||||||
$(LIB_INSTALL_EXTRA_CMD)
|
$(LIB_INSTALL_EXTRA_CMD)
|
||||||
|
|
||||||
install-headers::
|
install-headers::
|
||||||
install -d "$(INCINSTDIR)"
|
mkdir -p "$(INCINSTDIR)"
|
||||||
install -d "$(LIBDIR)/pkgconfig"
|
mkdir -p "$(LIBDIR)/pkgconfig"
|
||||||
install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
|
install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
|
||||||
ifdef BUILT_HEADERS
|
ifdef BUILT_HEADERS
|
||||||
install -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)"
|
install -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)"
|
||||||
|
Loading…
Reference in New Issue
Block a user