Change in ...libusrp[master]: Fix UNKNOWN version in make dist

laforge gerrit-no-reply at lists.osmocom.org
Thu Aug 8 11:30:14 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/libusrp/+/15115 )

Change subject: Fix UNKNOWN version in make dist
......................................................................

Fix UNKNOWN version in make dist

Change-Id: I94b2f2d00d73b62dcdbc85ae15d9b26de5a6f879
---
M Makefile.am
1 file changed, 8 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/Makefile.am b/Makefile.am
index 553747e..eb149d4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,7 +26,8 @@
 EXTRA_DIST += \
 	usrp.pc.in \
 	usrp.iss.in \
-	usrp.inf
+	usrp.inf \
+	.version
 
 SUBDIRS = host fpga doc firmware
 
@@ -34,4 +35,10 @@
 pkgconfig_DATA = \
 	usrp.pc
 
+BUILT_SOURCES = $(top_srcdir)/.version
+$(top_srcdir)/.version:
+	echo $(VERSION) > $@-t && mv $@-t $@
+dist-hook:
+	echo $(VERSION) > $(distdir)/.tarball-version
+
 @RELMAKE@

-- 
To view, visit https://gerrit.osmocom.org/c/libusrp/+/15115
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libusrp
Gerrit-Branch: master
Gerrit-Change-Id: I94b2f2d00d73b62dcdbc85ae15d9b26de5a6f879
Gerrit-Change-Number: 15115
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190808/705b9fb5/attachment.html>


More information about the gerrit-log mailing list