* [PATCH i-g-t] meson.sh: add usage instructions at the beginning of the file
@ 2023-12-14 13:45 Mauro Carvalho Chehab
0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2023-12-14 13:45 UTC (permalink / raw)
To: igt-dev
From: Mauro Carvalho Chehab <mchehab@kernel.org>
It is useful to have some documentation about the supported targets
and options.
Add it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
meson.sh | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/meson.sh b/meson.sh
index 2ea33d69139e..5fb5a806d661 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 (default) - print all ninja messages
+#
+# 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-14 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-14 13:45 [PATCH i-g-t] meson.sh: add usage instructions at the beginning of the file Mauro Carvalho Chehab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox