Added makefile that builds with git information
authorRasmus Stougaard <rasmus.stougaard@gmail.com>
Mon, 24 Nov 2014 15:45:48 +0000 (22:45 +0700)
committerspf13 <steve.francia@gmail.com>
Mon, 24 Nov 2014 22:25:51 +0000 (17:25 -0500)
commitc5ae2a2d1d0ceffbdb88a90f00519dfaec3806d6
treee9faddaa11b73539ffd2235b104eebc178346a26
parent9b850c4adb2602a453ec19162e48e080f89775be
Added makefile that builds with git information

I have put the extra linker flags in a makefile to avoid having to remember the long command to get the commitHash in the version command.

See comment by tatsushid here:
https://github.com/spf13/hugo/issues/540

NB: only tested on Mac OS x 10.10.1 since that is what I have access to
Makefile [new file with mode: 0644]