diff --git a/Makefile b/Makefile index 4adb6ee..35e0928 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ INSTALL_ARGS := # todo: add --break-system-packages if ubuntu +# Get git version information for make install +GIT_DESCRIBE := $(shell git describe --always --long --dirty) + .PHONY: init init: cd virtme_ng_init && cargo install --path . --root ../virtme/guest @@ -7,4 +10,5 @@ init: # see README.md '* Install from source' install: install_from_source install_from_source: + @echo "Version: $(GIT_DESCRIBE)" BUILD_VIRTME_NG_INIT=1 pip3 install --verbose -r requirements.txt $(INSTALL_ARGS) .