From 289abc88b8a4598124c46a11ccb4164564ee25ed Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Tue, 12 Nov 2019 17:26:27 +0900 Subject: Makefile: add .git/hooks/pre-commit Signed-off-by: Kuninori Morimoto Signed-off-by: Geert Uytterhoeven --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index fbeb8e8..0070d73 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,7 @@ STATUS = New Active Blocked Paused Done Abandoned NOPARAM = menu subindex body index all: + @make -s .git/hooks/pre-commit @make -s ${HTMLDIR} @make -s LISTS="${MEMBER}" TARGET=finds EXP1=member EXP2=-a loop @make -s LISTS="${STATUS}" TARGET=finds EXP1=status EXP2=-s loop @@ -20,6 +21,9 @@ all: @make -s bsp @make -s index.html +.git/hooks/pre-commit: + @ln -s ../../scripts/pre-commit.sh .git/hooks/pre-commit + index.html: @ln html/index.html . -- cgit v1.2.3