9 lines
210 B
Makefile
9 lines
210 B
Makefile
|
_GITVER_SH= if git rev-parse --short HEAD >/dev/null 2>&1; then \
|
||
|
printf "."; \
|
||
|
git rev-parse --short HEAD; \
|
||
|
else \
|
||
|
echo ""; \
|
||
|
fi
|
||
|
_GITVER!= ${_GITVER_SH}
|
||
|
GITVER= ${_GITVER}$(shell ${_GITVER_SH})
|