diff options
author | Alejandro Colomar <alx@kernel.org> | 2023-04-22 14:12:59 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2023-04-22 14:44:45 +0200 |
commit | 5f04f185dd551dfe4a0a8212b4f845938e552a2c (patch) | |
tree | 3d3dc7e05538649a1e6b2b63313c6c75696ebdc4 | |
parent | 1d46015f2539afe5f1129e6c2c86ff8094a64192 (diff) |
Makefile: Update and remove comments
- We don't use %/. for directories anymore.
- %/ targets are obviously directories; no need to say.
- Don't need to document how we create directories. That should be
obvious from the code.
Fixes: ac288b42c ("*.mk: Remove unnecessary '.' after directory names (but keep the '/')")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -18,11 +18,7 @@ # - Variables ending in '_rm' refer to files that can be removed (exist). # - Variables ending in '_rmdir' refer to dirs that can be removed (exist). # - Targets of the form '%-rm' remove their corresponding file '%'. -# - Targets of the form '%/.-rmdir' remove their corresponding dir '%/'. -# - Targets of the form '%/.' create their corresponding directory '%/'. -# - Every file or directory to be created depends on its parent directory. -# This avoids race conditions caused by `mkdir -p`. Only the root -# directories are created with parents. +# - Targets of the form '%-rmdir' remove their corresponding dir '%'. # - The 'FORCE' target is used to make phony some variables that can't be # .PHONY to avoid some optimizations. # |