From d993f313af7748ba010fe005f9b2bb66fe1d9142 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 10 Feb 2022 04:29:50 +0100 Subject: automake: Add git-version-gen to EXTRA_DIST and add .tarball-version hook --- Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 12940a1..5ca15d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,4 +3,8 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src include tools docs EXTRA_DIST = \ - README.md + README.md \ + git-version-gen + +dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version -- cgit v1.1-32-gdbae