commit: 143ad04bdb887fbc12101fa21d410107ef6664a6 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Sat Jan 7 23:54:44 2017 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Sat Jan 7 23:54:44 2017 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=143ad04b
Makefile: use git for versioning tarball. Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5bea2ba..e2e5e50 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -PACKAGE_VERSION = `/bin/fgrep GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/"` +#PACKAGE_VERSION = `/bin/fgrep GK_V= genkernel | sed "s/.*GK_V='\([^']\+\)'/\1/"` +PACKAGE_VERSION = `git describe --tags` distdir = genkernel-$(PACKAGE_VERSION) MANPAGE = genkernel.8 # Add off-Git/generated files here that need to be shipped with releases
