summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-11-12 17:26:27 +0900
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-11-25 14:53:26 +0100
commit289abc88b8a4598124c46a11ccb4164564ee25ed (patch)
tree771897483fa1462b6b88c0812d2a48d0f5812817 /Makefile
parent17f19806f7de23212561c879c0f2b003f3958642 (diff)
Makefile: add .git/hooks/pre-commit
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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 .