initial commit
This commit is contained in:
8
mk/gitver.mk
Normal file
8
mk/gitver.mk
Normal 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}
|
||||
Reference in New Issue
Block a user