Author: diego Date: Sun May 18 18:06:31 2008 New Revision: 26812 Log: Introduce a pattern rule for install-mplayer and install-mencoder targets. Modified: trunk/Makefile Modified: trunk/Makefile ============================================================================== --- trunk/Makefile (original) +++ trunk/Makefile Sun May 18 18:06:31 2008 @@ -823,7 +823,7 @@ install-dirs: $(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 @@ install-mplayer-man: 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 \
participants (1)
-
diego