fixeria has submitted this change. ( 
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(-)

Approvals:
  osmith: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified




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 <vyanits...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: osmith <osm...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to