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

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Aug 8 10:32:18 UTC 2019


pespin has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/libusrp refs/changes/15/15115/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190808/c09bd0bb/attachment.htm>


More information about the gerrit-log mailing list