Mercurial > mplayer.hg
changeset 26323:a9911503e195
cosmetics: Rename some shell variables to give them more descriptive names.
author | diego |
---|---|
date | Tue, 08 Apr 2008 22:11:17 +0000 |
parents | 6377c105cb37 |
children | 7cd64946eb11 |
files | Makefile |
diffstat | 1 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Apr 08 22:08:23 2008 +0000 +++ b/Makefile Tue Apr 08 22:11:17 2008 +0000 @@ -153,7 +153,7 @@ all: $(ALL_PRG) dep depend:: help_mp.h version.h codecs.conf.h - for a in $(PARTS); do $(MAKE) -C $$a dep; done + for part in $(PARTS); do $(MAKE) -C $$part depend; done include mpcommon.mak @@ -267,8 +267,8 @@ $(INSTALL) -m 755 $(INSTALLSTRIP) mplayer$(EXESUF) $(BINDIR) install-mplayer-man: - for i in $(MAN_LANG); do \ - if test "$$i" = en ; then \ + for lang in $(MAN_LANG); do \ + if test "$$lang" = en ; then \ $(INSTALL) -c -m 644 DOCS/man/en/mplayer.1 $(MANDIR)/man1/ ; \ else \ $(INSTALL) -d $(MANDIR)/$$i/man1 ; \ @@ -278,8 +278,8 @@ install-mencoder: mencoder$(EXESUF) $(INSTALL) -m 755 $(INSTALLSTRIP) mencoder$(EXESUF) $(BINDIR) - for i in $(MAN_LANG); do \ - if test "$$i" = en ; then \ + for lang in $(MAN_LANG); do \ + if test "$$lang" = en ; then \ cd $(MANDIR)/man1 && ln -sf mplayer.1 mencoder.1 ; \ else \ cd $(MANDIR)/$$i/man1 && ln -sf mplayer.1 mencoder.1 ; \ @@ -302,8 +302,8 @@ -rm -f $(MANDIR)/man1/mencoder.1 $(MANDIR)/man1/mplayer.1 -rm -f $(prefix)/share/pixmaps/mplayer.xpm -rm -f $(prefix)/share/applications/mplayer.desktop - for l in $(MAN_LANG); do \ - if test "$$l" != "en"; then \ + for lang in $(MAN_LANG); do \ + if test "$$lang" != "en"; then \ rm -f $(MANDIR)/$$l/man1/mplayer.1 \ $(MANDIR)/$$l/man1/mencoder.1 \ $(MANDIR)/$$l/man1/gmplayer.1 ; \ @@ -314,11 +314,11 @@ -rm -f mplayer$(EXESUF) mencoder$(EXESUF) codec-cfg$(EXESUF) \ codecs2html$(EXESUF) codec-cfg-test$(EXESUF) cpuinfo$(EXESUF) \ codecs.conf.h help_mp.h version.h TAGS tags - for a in $(PARTS); do $(MAKE) -C $$a clean; done + for part in $(PARTS); do $(MAKE) -C $$part clean; done for dir in $(DIRS); do rm -f $$dir/*.o $$dir/*.a $$dir/*.ho $$dir/*~ ; done distclean:: doxygen_clean - for a in $(PARTS); do $(MAKE) -C $$a distclean; done + for part in $(PARTS); do $(MAKE) -C $$part distclean; done $(MAKE) -C TOOLS distclean -rm -f configure.log config.mak config.h