[MPlayer-dev-eng] [RFC] run only toplevel FFmpeg makefile

Diego Biurrun diego at biurrun.de
Sun Jun 26 15:51:58 CEST 2011


On Sun, Jun 26, 2011 at 11:49:52AM +0200, Reimar Döffinger wrote:
> On Sun, Jun 26, 2011 at 11:32:42AM +0200, Reimar Döffinger wrote:
> > While I consider the sublevel Makefiles really valuable and very much
> > want to keep them working, I am not sure if there's any real interest.
> > In case that not, I want to propose attached patch for review so
> > that MPlayer will continue to build.
> 
> Sorry, uglier but closer to the current code and actually working
> with parallel build.
>  
> --- Makefile	(revision 33727)
> +++ Makefile	(working copy)
> @@ -807,7 +807,7 @@
>  
>  $(FFMPEGLIBS): $(FFMPEGFILES) config.h
> -	$(MAKE) -C $(@D)
> +	$(MAKE) -C ffmpeg $(shell echo $@ | sed -e s#ffmpeg/##)

Make works but text transformation and substitution.  If you need to
use the shell for such operations you are doing something wrong, have
a look at

http://www.gnu.org/software/make/manual/html_node/Text-Functions.html#Text-Functions

Diego


More information about the MPlayer-dev-eng mailing list