We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85732f6 commit 0542167Copy full SHA for 0542167
1 file changed
tools/make/lib/init/git_hooks.mk
@@ -30,17 +30,18 @@ GIT_HOOKS_OUT ?= $(ROOT_DIR)/.git/hooks
30
31
# RULES #
32
33
-# Install git hooks.
34
-#
35
-# This target installs [git hooks][1].
+#/
+# Installs [git hooks][1].
36
#
37
# [1]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
38
-
+#
+# @example
39
+# make init-git-hooks
40
41
init-git-hooks:
42
$(QUIET) for file in $(GIT_HOOKS); do \
43
$(CP) $(GIT_HOOKS_DIR)/$$file $(GIT_HOOKS_OUT)/$$file; \
44
$(MAKE_EXECUTABLE) $(GIT_HOOKS_OUT)/$$file; \
45
done
46
47
.PHONY: init-git-hooks
0 commit comments