fixeria has uploaded this change for review.
trxcon: Makefile.am: fix make {dist,distcheck} targets
File '.version' must be also listed in EXTRA_DIST, otherwise I get:
echo 0.0.0 > ../../.version-t && mv ../../.version-t ../../.version
/bin/sh: line 1: ../../.version-t: Permission denied
Change-Id: I65f7c505f5a231bab114c45f5fdd7421601dfbc0
Related: OS#5599, OS#3761
---
M src/host/trxcon/Makefile.am
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/01/28501/1
diff --git a/src/host/trxcon/Makefile.am b/src/host/trxcon/Makefile.am
index 0c71e97..893d9ab 100644
--- a/src/host/trxcon/Makefile.am
+++ b/src/host/trxcon/Makefile.am
@@ -44,8 +44,14 @@
$(LIBOSMOGSM_LIBS) \
$(NULL)
+BUILT_SOURCES = \
+ $(top_srcdir)/.version \
+ $(NULL)
+EXTRA_DIST = \
+ .version \
+ $(NULL)
+
# versioning magic
-BUILT_SOURCES = $(top_srcdir)/.version
$(top_srcdir)/.version:
echo $(VERSION) > $@-t && mv $@-t $@
dist-hook:
To view, visit change 28501. To unsubscribe, or for help writing mail filters, visit settings.