[Intel-gfx] [PATCH i-g-t 6/6] Makefile.meson: add distclean target to remove Makefile and build dir
Jani Nikula
jani.nikula at intel.com
Tue Oct 24 09:52:56 UTC 2017
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
+
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
More information about the Intel-gfx
mailing list