commit: 301d1bb0c55e2e848a13decae8201e674e1600f7 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Nov 30 05:12:20 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Nov 30 05:12:20 2024 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=301d1bb0
Makefile: use git describe Lets us handle .1 and so on. Signed-off-by: Sam James <sam <AT> gentoo.org> Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index aa07a91..a935a98 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ install: sed -i -e "s:@GENTOO_PORTAGE_EPREFIX@:$(EPREFIX):g" $(DESTDIR)$(PREFIX)/bin/crossdev $(MAKE) -C wrappers install -PV = $(shell test -e .git && date --date="`git log -1 --format=%ci`" +%Y%m%d) +PV = $(shell test -e .git && git describe) P = crossdev-$(PV) COMP = xz dist: