Skip to content

Commit 25e93e3

Browse files
committed
Add uninstall_hooks make command. [skip ci]
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 5abd33e commit 25e93e3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

makefile_include.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,9 @@ install_test: $(call print-help,install_test,Installs the self-test binary) test
517517
install_hooks: $(call print-help,install_hooks,Installs the git hooks)
518518
for s in `ls hooks/`; do ln -s ../../hooks/$$s .git/hooks/$$s; done
519519

520+
uninstall_hooks: $(call print-help,uninstall_hooks,Uninstalls the git hooks)
521+
for s in `ls hooks/`; do rm .git/hooks/$$s; done
522+
520523
HEADER_FILES=$(notdir $(HEADERS_PUB))
521524
.common_uninstall:
522525
$(UNINSTALL_CMD) $(DESTDIR)$(LIBPATH)/$(LIBNAME)

0 commit comments

Comments
 (0)