Skip to content

Commit

Permalink
Update Makefile with git root and commit info
Browse files Browse the repository at this point in the history
  • Loading branch information
hironow committed Apr 12, 2024
1 parent 09bdbc0 commit d34e1cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ SHELL := $(shell which bash) # Use bash syntax to be consistent
OS_NAME := $(shell uname -s | tr '[:upper:]' '[:lower:]')
ARCH_NAME_RAW := $(shell uname -m)

COMMIT=$$(git describe --tags --always)
GIT_ROOT := $(shell git rev-parse --show-toplevel)
COMMIT := $(shell git describe --tags --always)

LOCAL_BIN:=$(CURDIR)/bin
PATH:=$(LOCAL_BIN):$(PATH)
LOCAL_BIN := $(CURDIR)/bin
PATH := $(LOCAL_BIN):$(PATH)


# 'make' command will trigger the help target
Expand Down

0 comments on commit d34e1cf

Please sign in to comment.