githooks

Personal git hooks
git clone git://pollux.codes/git/githooks.git
Log | Files | Refs | README

Makefile (200B)


      1 PWD=$(shell pwd)
      2 PREFIX="$(HOME)/.local/bin"
      3 
      4 all: githook
      5 	@echo "Installing githook to $(PREFIX)/githook"
      6 	@cat githook | sed "s#%HOOKSDIR%#$(PWD)#" > $(PREFIX)/githook
      7 	@chmod +x $(PREFIX)/githook