[Intel-gfx] [PATCH i-g-t 6/6] Makefile.meson: add distclean target to remove Makefile and build dir

Petri Latvala petri.latvala at intel.com
Fri Jan 12 11:03:30 UTC 2018


On Tue, Oct 24, 2017 at 12:52:56PM +0300, Jani Nikula wrote:
> Useful for forcing a clean meson build from scratch.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>  Makefile.meson | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/Makefile.meson b/Makefile.meson
> index c7a87f37f47d..2e09c11052da 100644
> --- a/Makefile.meson
> +++ b/Makefile.meson
> @@ -16,13 +16,16 @@ build/build.ninja: Makefile
>  clean: build/build.ninja
>  	ninja -C build clean
>  
> +distclean:
> +	rm -rf build Makefile
> +


If patch 1 is applied, there is no Makefile to remove. Adjusted
accordingly, this patch and 3-5 as well are

Reviewed-by: Petri Latvala <petri.latvala at intel.com>





>  test: build/build.ninja
>  	ninja -C build test
>  
>  reconfigure: build/build.ninja
>  	ninja -C build reconfigure
>  
> -check distcheck dist distclean:
> +check distcheck dist:
>  	$(error This is the meson wrapper, not automake)
>  
>  install uninstall:
> -- 
> 2.11.0
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list