shithub: hugo

Download patch

ref: be3d563a13eae2c4801fec5e9537b4f246ee48c7
parent: 9f0f73f4523947af9703d3357c4b6881f7d85caa
author: Austin Ziegler <[email protected]>
date: Mon Dec 8 16:54:49 EST 2014

Add an `install` target to Makefile.

--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@
 
 all: gitinfo
 
+install: install-gitinfo
+
 help:
 	echo ${COMMIT_HASH}
 	echo ${BUILD_DATE}
@@ -16,6 +18,9 @@
 
 gitinfo:
 	go build ${LDFLAGS} -o hugo main.go
+
+install-gitinfo:
+	go install ${LDFLAGS} ./...
 
 no-git-info:
 	go build -o hugo main.go