generate git-rev on package build
Merge pull request #822 from houqp/make-fix

generate git-rev on package build