Makefile banner: print branch name when building

debug_PEP_TRUSTWORDS_XOR_COMPATIBILITY
positron 2 months ago
parent e12a046038
commit 1a172f8757

@ -448,6 +448,7 @@ export BANNERPRINTED
ifndef BANNERPRINTED
BANNERPRINTED := yes
VERSION=$(shell cat $(HERE)src/pEpEngine_version.h | grep 'PEP_ENGINE_VERSION "' | awk '{print $$3}' | tr '"' ' ')
VERSION+=$(shell if test -e .git && git --version > /dev/null 2> /dev/null; then echo "branch '$$(git branch --show-current)'"; fi 2> /dev/null)
$(info ================================================)
$(info Building p≡p Engine $(VERSION))
$(info Safety mode '$(DEBUG)')

Loading…
Cancel
Save