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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Useful for forcing a clean meson build from scratch.

Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx>
---
 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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux