From a3a22a4c79a4131919a92f85b6ce66148ef237c0 Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Wed, 28 Mar 2018 13:58:34 +0200 Subject: [PATCH] ADD: create git commit/merge/checkout hooks --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dd874f1..a5e7b99 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,14 @@ IEEEtran.cls: @unzip -j ieee-latex-conference-template.zip IEEEtran/IEEEtran.cls >/dev/null @rm ieee-latex-conference-template.zip -base: .gitignore .latexmkrc +base: .gitignore .latexmkrc .git/hooks/post-commit + +.git/hooks/post-commit .git/hooks/post-merge .git/hooks/post-checkout: Paper-Makefile/post-commit + cp Paper-Makefile/post-commit .git/hooks/ + cp Paper-Makefile/post-commit .git/hooks/post-merge + cp Paper-Makefile/post-commit .git/hooks/post-checkout + chmod u+x .git/hooks/* + .git/hooks/post-commit .gitignore: @echo *.pdf >> .gitignore