changeset 26777:93463ecf0a14

Simplify installation rules with $<.
author diego
date Sun, 18 May 2008 16:01:46 +0000
parents 14cb67f96415
children ebd5f2d64315
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun May 18 15:53:55 2008 +0000
+++ b/Makefile	Sun May 18 16:01:46 2008 +0000
@@ -824,7 +824,7 @@
 	if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
 
 install-mplayer: mplayer$(EXESUF)
-	$(INSTALL) -m 755 $(INSTALLSTRIP) mplayer$(EXESUF) $(BINDIR)
+	$(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
 
 install-mplayer-man:
 	for lang in $(MAN_LANG); do \
@@ -837,7 +837,7 @@
 	done
 
 install-mencoder: mencoder$(EXESUF)
-	$(INSTALL) -m 755 $(INSTALLSTRIP) mencoder$(EXESUF) $(BINDIR)
+	$(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
 	for lang in $(MAN_LANG); do \
 		if test "$$lang" = en ; then \
 			cd $(MANDIR)/man1 && ln -sf mplayer.1 mencoder.1 ; \