]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
GNUmakefile, INSTALL, RELEASE: Expand 'make help' to document dependencies
authorAlejandro Colomar <alx@kernel.org>
Tue, 19 Mar 2024 17:29:58 +0000 (18:29 +0100)
committerAlejandro Colomar <alx@kernel.org>
Tue, 19 Mar 2024 17:29:58 +0000 (18:29 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
GNUmakefile
INSTALL
RELEASE

index 4cc4e88f0cc30a5ec6eef252126aecabb1039c52..7baa19bbc604496691766f6a5ae0b7d22dd8c32a 100644 (file)
@@ -48,9 +48,17 @@ help:
        $(info  )
        $(info  $(INFO_)To see a list of available variables, run:)
        $(info  $(INFO_)        $$ find GNUmakefile share/mk/configure -type f \)
+       $(info  $(INFO_)        | sort \)
        $(info  $(INFO_)        | xargs grep '^[^[:space:]].*=' \)
        $(info  $(INFO_)        | sed 's/=.*/=/';)
        $(info  )
+       $(info  )
+       $(info  $(INFO_)To see a list of dependencies, run:)
+       $(info  $(INFO_)        $$ find share/mk/configure/build-depends -type f \)
+       $(info  $(INFO_)        | sed 's,share/mk/configure/build-depends/,,' \)
+       $(info  $(INFO_)        | sed 's,\.mk,,' \)
+       $(info  $(INFO_)        | sort;)
+       $(info  )
 
 
 .DELETE_ON_ERROR:
diff --git a/INSTALL b/INSTALL
index aac8f1013336b0d53d323d54736d22be84fa6fea..0fdc36f716e20d3b6437f5f07e53783eab7979e3 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -46,7 +46,7 @@ Description
            are specially designed for this project.  To see all of the
            available variables, use:
 
-               $ make help-variables
+               $ make help
 
            The most common ones that you may use are:
 
@@ -66,22 +66,13 @@ Description
                $ make help
 
    Dependencies
-       -  Build-depends:
-
-          To learn the build dependencies of the project, run
-
-              $ find share/mk/ -type f \
-              | xargs grep include.*configure/build-depends/ \
-              | sed 's,share/mk/,,' \
-              | sed 's,/.*:,:,' \
-              | sed 's,include $.*/, ,' \
-              | sed 's,\.mk,,g' \
-              | sort \
-              | uniq;
-
-       -  Depends:
-          -  man(1)
-          -  groff(1) | mandoc(1)
+       To see the build-dependencies of the project, that is, the
+       dependencies of the build system, see `make help`.
+
+       To read the manual pages, you'll need:
+
+       -  man(1)
+       -  groff(1) | mandoc(1)
 
    Lint & check
        You can lint and check both the manual pages, and the example C
diff --git a/RELEASE b/RELEASE
index 97c4479c1fe5179fcf5d2fdbaaeb66ecbbb83694..90a4612843788bc5976d853c2ba6f95e41fae75a 100644 (file)
--- a/RELEASE
+++ b/RELEASE
@@ -12,23 +12,8 @@ Description
        release, you only need step (4) "Tarball".
 
    Dependencies
-       The following list of dependencies states what the build system
-       (the makefiles) need to perform the relevant (dist) targets:
-
-       -  echo(1)
-       -  expr(1)
-       -  find(1)
-       -  git(1)
-       -  grep(1)
-       -  gzip(1)
-       -  install(1)
-       -  locale(1)
-       -  make(1) - GNU Make is required.
-       -  sed(1)
-       -  sort(1)
-       -  tar(1) - GNU tar is required.
-       -  xargs(1)
-       -  xz(1)
+       To see the build-dependencies of the project, that is, the
+       dependencies of the build system, see `make help`.
 
        Apart from that, the following commands are also needed for other
        tasks shown below: