Mercurial > mplayer.hg
changeset 26783:e4e004804577
Replace shell for loop with proper foreach make construct in uninstall target.
author | diego |
---|---|
date | Sun, 18 May 2008 16:16:39 +0000 |
parents | 5282159223e2 |
children | 80227b63ccf8 |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Sun May 18 16:13:46 2008 +0000 +++ b/Makefile Sun May 18 16:16:39 2008 +0000 @@ -859,10 +859,7 @@ rm -f $(prefix)/share/pixmaps/mplayer.xpm rm -f $(prefix)/share/applications/mplayer.desktop rm -f $(MANDIR)/man1/mplayer.1 $(MANDIR)/man1/mencoder.1 - for lang in $(MAN_LANG); do \ - rm -f $(MANDIR)/$$lang/man1/mplayer.1 \ - $(MANDIR)/$$lang/man1/mencoder.1 ; \ - done + rm -f $(foreach lang,$(MAN_LANG),$(foreach man,mplayer.1 mencoder.1,$(MANDIR)/$(lang)/man1/$(man))) clean: rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.o /*.a /*.ho /*~, $(addsuffix $(suffix),$(dir))))