[MPlayer-dev-eng] [PATCH] Fix tags generation in the makefile

Diego Biurrun diego at biurrun.de
Sat May 16 00:14:53 CEST 2009


On Fri, May 15, 2009 at 09:38:05PM +0400, Andrew Savchenko wrote:
> 
> currently make tags (or make TAGS) generates tags only for *.asm files 
> due to missed brackets in the find search expression. (At least as 
> for findutils-4.5.4 this cause a problem.)
> 
> --- Makefile	(revision 29308)
> +++ Makefile	(working copy)
> @@ -982,10 +982,10 @@
>  
>  TAGS:
> -	rm -f $@; ( find -name '*.[chS]' -o -name '*.asm' -print ) | xargs etags -a
> +	rm -f $@; ( find \( -name '*.[chS]' -o -name '*.asm' \) -print ) | xargs etags -a
>  
>  tags:
> -	rm -f $@; ( find -name '*.[chS]' -o -name '*.asm' -print ) | xargs ctags -a
> +	rm -f $@; ( find \( -name '*.[chS]' -o -name '*.asm' \) -print ) | xargs ctags -a

Should be OK.

Note that this does not work either way with BSD find
on e.g. Mac OS X 10.4..

Diego



More information about the MPlayer-dev-eng mailing list