96a9afedf6
so that they can be reused by another Makefile Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2 lines
171 B
Makefile
2 lines
171 B
Makefile
COMMIT_NO := $(shell git rev-parse HEAD 2> /dev/null || true)
|
|
GIT_COMMIT := $(if $(shell git status --porcelain --untracked-files=no),"${COMMIT_NO}-dirty","${COMMIT_NO}")
|