diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2024-01-26 23:45:28 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2024-01-26 23:45:28 +0700 |
commit | a118d98ec3e1824b4d5ee383e1f62839c3e1cf1a (patch) | |
tree | fbdf2426189e8cfa296565d65589e6333711a874 | |
parent | c7fc94dff6b8e809d8942135d19b7be1fe7c3a7b (diff) |
build: include version files into the release tarball
Change-Id: I818b645737bed35495cb4bad35667b369fd5ea6c
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 7b2198c..aee0d9d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -43,12 +43,20 @@ SUBDIRS += \ doc \ $(NULL) +BUILT_SOURCES = $(top_srcdir)/.version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ +dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version + EXTRA_DIST = \ + .version \ LEGAL \ COPYING \ README.md \ contrib/osmo-trx.spec.in \ debian \ + git-version-gen \ $(NULL) AM_DISTCHECK_CONFIGURE_FLAGS = \ |