[VOL-5358] - misc edits needed to support repo:onf-make use.
config.mk
---------
- Simple copyright notice update.
makefiles/commands/include.mk
makefiles/commands/kubectl/include.mk
-------------------------------------y
- Added a central installer for the kubectl command.
- Rename commands 'help::' target to commands-help.
- Default help is growing long in the stream.
makefiles/commands/kail/include.mk
makefiles/commands/pre-commit/
makefiles/commands/tox/tox.mk
----------------------------------
- Update copyright notice
- Changed default help target to target commands-help and define
{command-name}-help for individual targets. Default help target
is beginning to grow long displaying everything.
makefiles/docker/include.mk
---------------------------
- Update include docker config file (directory mount paths) to also load
the config from lf/local/docker/config/include.mk to avoid storing
all custom repo configs in repo:onf-make.
Signed-off-by: Joey Armstrong <jarmstrong@linuxfoundation.org>
Change-Id: I075be7c710bd7308ce258109455cc2ea2a3ae780
diff --git a/makefiles/commands/pre-commit/pre-commit.mk b/makefiles/commands/pre-commit/pre-commit.mk
index 0bb075d..6b59a0c 100644
--- a/makefiles/commands/pre-commit/pre-commit.mk
+++ b/makefiles/commands/pre-commit/pre-commit.mk
@@ -29,17 +29,12 @@
## -----------------------------------------------------------------------
## -----------------------------------------------------------------------
-help ::
- @printf ' %-33.33s %s\n' 'pre-commit' \
- 'Invoke command pre-commit'
- @printf ' %-33.33s %s\n' 'pre-commit-help' \
- 'Display extended target help (pre-commit-*)'
+commands-help :: pre-commit-help
-## -----------------------------------------------------------------------
-## -----------------------------------------------------------------------
-tox-help ::
- @printf ' %-33.33s %s\n' 'tox-run' \
- 'Self documenting alias for command tox'
+.PHONY: pre-commit-help
+pre-commit-help ::
+ @printf ' %-33.33s %s\n' 'pre-commit-install' \
+ 'Invoke the pre-commit hook linting tool'
$(if $(DEBUG),$(warning LEAVE))