mirror of
https://github.com/Zygo/bees.git
synced 2025-05-17 21:35:45 +02:00
Makefile: Fix git usage for non-git source archive
We didn't take enough care to fix all invocations of git in this scenario. Fixes: 32d2739 ("Makefile: Specify version when building from tarball") Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
parent
e74122b512
commit
6c68e81da7
2
Makefile
2
Makefile
@ -31,7 +31,7 @@ clean: ## Cleanup
|
|||||||
.PHONY: lib src test doc
|
.PHONY: lib src test doc
|
||||||
|
|
||||||
lib: ## Build libs
|
lib: ## Build libs
|
||||||
+$(MAKE) -C lib
|
+$(MAKE) TAG="$(BEES_VERSION)" -C lib
|
||||||
|
|
||||||
src: ## Build bins
|
src: ## Build bins
|
||||||
src: lib
|
src: lib
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
TAG := $(shell git describe --always --dirty || echo UNKNOWN)
|
TAG ?= $(shell git describe --always --dirty || echo UNKNOWN)
|
||||||
|
|
||||||
default: libcrucible.so
|
default: libcrucible.so
|
||||||
%.so: Makefile
|
%.so: Makefile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user