Skip to content

Commit 0542167

Browse files
committed
Update source docs
1 parent 85732f6 commit 0542167

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tools/make/lib/init/git_hooks.mk

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,18 @@ GIT_HOOKS_OUT ?= $(ROOT_DIR)/.git/hooks
3030

3131
# RULES #
3232

33-
# Install git hooks.
34-
#
35-
# This target installs [git hooks][1].
33+
#/
34+
# Installs [git hooks][1].
3635
#
3736
# [1]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
38-
37+
#
38+
# @example
39+
# make init-git-hooks
40+
#/
3941
init-git-hooks:
4042
$(QUIET) for file in $(GIT_HOOKS); do \
4143
$(CP) $(GIT_HOOKS_DIR)/$$file $(GIT_HOOKS_OUT)/$$file; \
4244
$(MAKE_EXECUTABLE) $(GIT_HOOKS_OUT)/$$file; \
4345
done
4446

4547
.PHONY: init-git-hooks
46-

0 commit comments

Comments
 (0)