diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:40:15 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:40:15 +0000 |
commit | 399644e47874bff147afb19c89228901ac39340e (patch) | |
tree | 1c4c0b733f4c16b5783b41bebb19194a9ef62ad1 /share/mk/version.mk | |
parent | Initial commit. (diff) | |
download | manpages-upstream/6.05.01.tar.xz manpages-upstream/6.05.01.zip |
Adding upstream version 6.05.01.upstream/6.05.01
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'share/mk/version.mk')
-rw-r--r-- | share/mk/version.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/share/mk/version.mk b/share/mk/version.mk new file mode 100644 index 0000000..af3c0cb --- /dev/null +++ b/share/mk/version.mk @@ -0,0 +1,20 @@ +######################################################################## +# Copyright 2022, Alejandro Colomar <alx@kernel.org> +# SPDX-License-Identifier: GPL-3.0-or-later +######################################################################## + + +ifndef MAKEFILE_VERSION_INCLUDED +MAKEFILE_VERSION_INCLUDED := 1 + + +include $(MAKEFILEDIR)/cmd.mk +include $(MAKEFILEDIR)/verbose.mk + + +DISTNAME := $(shell $(GIT) describe $(HIDE_ERR)) +DISTVERSION := $(patsubst man-pages-%,%,$(DISTNAME)) +DISTDATE := $(shell $(GIT) log -1 --format='%aD') + + +endif # include guard |