[PATCH i-g-t v2] meson.sh: add usage instructions at the beginning of the file

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Thu Dec 14 13:50:49 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

Add some documentation about the supported targets and options.

Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
 meson.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/meson.sh b/meson.sh
index 2ea33d69139e..f83b6d6d4b92 100755
--- a/meson.sh
+++ b/meson.sh
@@ -1,5 +1,21 @@
 #!/bin/sh
 
+# Usage:
+#    ./meson.sh [<options>] [target]
+#
+# Where options can be:
+#	V=0         - disable non-error messages on ninja
+#	V=1         - print all ninja messages (default)
+#
+# And target is the Makefile target. It can be:
+#	all         - build all files
+#	clean       - cleans build
+#	test        - excecute unit tests
+#	reconfigure - run Meson reconfigure via ninja
+#	install     - builds and install IGT
+#	uninstall   - uninstalls IGT from a past installation
+#	docs	    - builds igt-gpu-tools-doc
+
 cat > Makefile <<EOF
 
 quiet_build =
-- 
2.43.0



More information about the igt-dev mailing list