hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit be3d563a13eae2c4801fec5e9537b4f246ee48c7
parent 9f0f73f4523947af9703d3357c4b6881f7d85caa
Author: Austin Ziegler <austin@zieglers.ca>
Date:   Mon,  8 Dec 2014 21:54:49 -0500

Add an `install` target to Makefile.

Diffstat:
MMakefile | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -10,6 +10,8 @@ LDFLAGS=-ldflags "-X github.com/spf13/hugo/commands.commitHash ${COMMIT_HASH} -X
 
 all: gitinfo
 
+install: install-gitinfo
+
 help:
 	echo ${COMMIT_HASH}
 	echo ${BUILD_DATE}
@@ -17,6 +19,9 @@ help:
 gitinfo:
 	go build ${LDFLAGS} -o hugo main.go
 
+install-gitinfo:
+	go install ${LDFLAGS} ./...
+
 no-git-info:
 	go build -o hugo main.go