changeset 26780:3dddd0b74436

Introduce a pattern rule for install-mplayer and install-mencoder targets.
author diego
date Sun, 18 May 2008 16:06:31 +0000
parents 666a63d00be2
children 1a57d9c23fa6
files Makefile
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun May 18 16:04:51 2008 +0000
+++ b/Makefile	Sun May 18 16:06:31 2008 +0000
@@ -823,7 +823,7 @@
 	$(INSTALL) -d $(CONFDIR)
 	if test -f $(CONFDIR)/codecs.conf ; then mv -f $(CONFDIR)/codecs.conf $(CONFDIR)/codecs.conf.old ; fi
 
-install-mplayer: mplayer$(EXESUF)
+install-%: %$(EXESUF)
 	$(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
 
 install-mplayer-man:
@@ -836,9 +836,6 @@
 		fi ; \
 	done
 
-install-mencoder: mencoder$(EXESUF)
-	$(INSTALL) -m 755 $(INSTALLSTRIP) $< $(BINDIR)
-
 install-mencoder-man:
 	for lang in $(MAN_LANG); do \
 		if test "$$lang" = en ; then \