rename git.mk to gitver.mk

This is a more descriptive name since this file only sets the gitver
variable.
This commit is contained in:
William Hubbs
2014-12-05 11:55:16 -06:00
parent 30cc3cdb76
commit 7a92eb8887
3 changed files with 2 additions and 2 deletions

8
mk/gitver.mk Normal file
View File

@@ -0,0 +1,8 @@
_GITVER_SH= if git rev-parse --short HEAD >/dev/null 2>&1; then \
printf "."; \
git rev-parse --short HEAD; \
else \
echo ""; \
fi
_GITVER:= $(shell ${_GITVER_SH})
GITVER= ${_GITVER}