aboutsummaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-06 17:14:13 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-06 17:14:13 +0000
commitfd676deb96b2cc668df37ef5118cabfa75142064 (patch)
tree6a66ac2ad105cd9afb1a15e59f8c59e4155a2df0 /subdir.mak
parentb578357e597470667b9bd7e0bd7583dffa205100 (diff)
downloadffmpeg-fd676deb96b2cc668df37ef5118cabfa75142064.tar.gz
Add INSTALL makefile variable
Originally committed as revision 22242 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak10
1 files changed, 5 insertions, 5 deletions
diff --git a/subdir.mak b/subdir.mak
index ed1d68833f..872793488d 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -63,7 +63,7 @@ endif
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
mkdir -p "$(SHLIBDIR)"
- install -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
+ $$(INSTALL) -m 755 $$< "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
$(STRIP) "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
cd "$(SHLIBDIR)" && \
$(LN_S) $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR)
@@ -73,17 +73,17 @@ install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
mkdir -p "$(LIBDIR)"
- install -m 644 $$< "$(LIBDIR)"
+ $$(INSTALL) -m 644 $$< "$(LIBDIR)"
$(LIB_INSTALL_EXTRA_CMD)
install-headers::
mkdir -p "$(INCINSTDIR)"
mkdir -p "$(LIBDIR)/pkgconfig"
- install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
+ $$(INSTALL) -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
ifdef BUILT_HEADERS
- install -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)"
+ $$(INSTALL) -m 644 $(addprefix $(SUBDIR),$(BUILT_HEADERS)) "$(INCINSTDIR)"
endif
- install -m 644 $(BUILD_ROOT)/lib$(NAME)/lib$(NAME).pc "$(LIBDIR)/pkgconfig"
+ $$(INSTALL) -m 644 $(BUILD_ROOT)/lib$(NAME)/lib$(NAME).pc "$(LIBDIR)/pkgconfig"
uninstall-libs::
-$(RM) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \