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
--
To view, visit
https://gerrit.osmocom.org/c/gapk/+/34891?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: gapk
Gerrit-Branch: master
Gerrit-Change-Id: I5c15cefb68ab787819edaa1a097fe397837e0bcd
Gerrit-Change-Number: 34891
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange