aboutsummaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-03-22 13:00:15 +0000
committerDiego Biurrun <diego@biurrun.de>2009-03-22 13:00:15 +0000
commit3c3e0680b5267f40f5f27dbac47b101476d483c5 (patch)
treeec740c3dbd20fe87097bf91a33a242ca79495ff1 /subdir.mak
parente6b09f436112836383adcaf6fd975e2c73fe991b (diff)
downloadffmpeg-3c3e0680b5267f40f5f27dbac47b101476d483c5.tar.gz
Use $< automatic variable to simplify some commands.
Originally committed as revision 18143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/subdir.mak b/subdir.mak
index df5bb8a09a..997f552682 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -39,7 +39,7 @@ endif
install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
install -d "$(SHLIBDIR)"
- install -m 755 $(SUBDIR)$(SLIBNAME) "$(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)
@@ -49,7 +49,7 @@ install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME)
install-lib$(NAME)-static: $(SUBDIR)$(LIBNAME)
install -d "$(LIBDIR)"
- install -m 644 $(SUBDIR)$(LIBNAME) "$(LIBDIR)"
+ install -m 644 $$< "$(LIBDIR)"
$(LIB_INSTALL_EXTRA_CMD)
install-headers::