fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/gapk/+/34891?usp=email )
Change subject: dist: include .[tarball-]version and git-version-gen files ......................................................................
dist: include .[tarball-]version and git-version-gen files
Most of other [lib]osmo-projects do include these files in the release tarballs. Do the same for the sake of consistency.
Change-Id: I5c15cefb68ab787819edaa1a097fe397837e0bcd Related: OS#6227 --- M Makefile.am 1 file changed, 27 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/gapk refs/changes/91/34891/1
diff --git a/Makefile.am b/Makefile.am index a1642d4..f2a2c31 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,3 +11,17 @@ endif
SUBDIRS += src tests + +BUILT_SOURCES = \ + $(top_srcdir)/.version \ + $(NULL) +EXTRA_DIST = \ + git-version-gen \ + .version \ + $(NULL) + +# versioning magic +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ +dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version