[FFmpeg-devel] [Patch make install/uninstall

Diego Biurrun diego
Wed Sep 12 11:34:44 CEST 2007


On Tue, Sep 11, 2007 at 07:45:56PM -0700, Dave Yeo wrote:
> Hi just running configure, make, make install sees the libswscale headers 
> installed. make uninstall then does not remove them and fails to remove 
> include/ffmpeg. Also even when compiling with libswscale it did not remove 
> headers and libs.

> --- Makefile	(revision 10476)
> +++ Makefile	(working copy)
> @@ -181,7 +181,9 @@
>  ifeq ($(CONFIG_PP),yes)
>  	$(MAKE) -C libpostproc install-headers
>  endif
> +ifeq ($(CONFIG_SWSCALER),yes)
>  	$(MAKE) -C libswscale  install-headers
> +endif

This is on purpose, one of the libswscale headers is always needed IIRC.

> @@ -200,12 +202,14 @@
>  	$(MAKE) -C libavcodec  uninstall-libs
>  	$(MAKE) -C libavformat uninstall-libs
>  	$(MAKE) -C libpostproc uninstall-libs
> +	$(MAKE) -C libswscale  uninstall-libs
>  
>  uninstall-headers:
>  	$(MAKE) -C libavutil   uninstall-headers
>  	$(MAKE) -C libavcodec  uninstall-headers
>  	$(MAKE) -C libavformat uninstall-headers
>  	$(MAKE) -C libpostproc uninstall-headers
> +	$(MAKE) -C libswscale  uninstall-headers
>  	-rmdir "$(INCDIR)"
>  
>  depend dep: .depend .vhookdep

This part applied.

Diego




More information about the ffmpeg-devel mailing list