[libav-devel] [PATCH 1/3] build: Add uninstall-pkgconfig target to match install-lib*-pkgconfig

Luca Barbato lu_zero at gentoo.org
Mon Nov 6 20:42:53 CET 2017


On 06/11/2017 17:58, Diego Biurrun wrote:
> ---
>   Makefile            | 2 +-
>   avbuild/library.mak | 4 +++-
>   2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index b1a2c301b5..1c10f15462 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -161,7 +161,7 @@ install-data: $(DATA_FILES)
>   	$(Q)mkdir -p "$(DATADIR)"
>   	$(INSTALL) -m 644 $(DATA_FILES) "$(DATADIR)"
>   
> -uninstall: uninstall-libs uninstall-headers uninstall-data
> +uninstall: uninstall-data uninstall-headers uninstall-libs uninstall-pkgconfig
>   
>   uninstall-data:
>   	$(RM) -r "$(DATADIR)"
> diff --git a/avbuild/library.mak b/avbuild/library.mak
> index 4e4b3f196d..a4b57e8824 100644
> --- a/avbuild/library.mak
> +++ b/avbuild/library.mak
> @@ -92,8 +92,10 @@ uninstall-libs::
>   
>   uninstall-headers::
>   	$(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS))
> -	$(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
>   	-rmdir "$(INCINSTDIR)"
> +
> +uninstall-pkgconfig::
> +	$(RM) "$(LIBDIR)/pkgconfig/lib$(NAME).pc"
>   endef
>   
>   $(eval $(RULES))
> 

Ok.


More information about the libav-devel mailing list