# HG changeset patch # User diego # Date 1211127399 0 # Node ID e4e004804577c9116d68ca8a4af9a0a521653915 # Parent 5282159223e2429c8cc9d5ac61bcb0246d0ce775 Replace shell for loop with proper foreach make construct in uninstall target. diff -r 5282159223e2 -r e4e004804577 Makefile --- 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))))