[MPlayer-cvslog] r26815 - trunk/Makefile

diego subversion at mplayerhq.hu
Sun May 18 18:16:39 CEST 2008


Author: diego
Date: Sun May 18 18:16:39 2008
New Revision: 26815

Log:
Replace shell for loop with proper foreach make construct in uninstall target.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Sun May 18 18:16:39 2008
@@ -859,10 +859,7 @@ uninstall:
 	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))))



More information about the MPlayer-cvslog mailing list