summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-02-11 23:05:54 +0100
committerAlejandro Colomar <alx@kernel.org>2024-02-11 23:08:20 +0100
commit520eceb64ff6933b059208184b714f412ef194b9 (patch)
tree2dda66b8932dd570a59181f6957ba0ca08c7e8f6
parent51b9ea09f36184d71457905c6cfcc5595a584224 (diff)
downloadliba2i-520eceb64ff6933b059208184b714f412ef194b9.tar.gz
share/doc/install: Document how to find out the dependencies
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--share/doc/install12
1 files changed, 12 insertions, 0 deletions
diff --git a/share/doc/install b/share/doc/install
index 104eca2..0bc86e1 100644
--- a/share/doc/install
+++ b/share/doc/install
@@ -42,6 +42,18 @@ Description
$ make help
+ Dependencies
+ To learn the dependencies of the project, run
+
+ $ find share/mk/ -type f \
+ | xargs grep include.*configure \
+ | sed 's,share/mk/,,' \
+ | sed 's,/.*:,:,' \
+ | sed 's,include $.*/, ,' \
+ | sed 's,\.mk,,g' \
+ | sort \
+ | uniq;
+
Lint
You can lint the source code. See 'make help' for a list of targets
that can be used.