Permalink
Browse files

Add a install-hooks target

  • Loading branch information...
1 parent 2311376 commit 0751f4f20bb22ab532eeae45ed269c5ce8a8b9b4 @joachifm committed Nov 20, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 Makefile
View
@@ -9,6 +9,11 @@ SRC = $(shell find Network -type f -name '*.hs')
all:
+install-hooks:
+ cd $(shell git rev-parse --show-toplevel)
+ cp hooks/pre-commit .git/hooks/pre-commit
+ chmod +x .git/hooks/pre-commit
+
maintainer-clean:
@rm -f TAGS tags ChangeLog

0 comments on commit 0751f4f

Please sign in to comment.