aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2024-01-28 23:45:21 +0700
committerOliver Smith <osmith@sysmocom.de>2024-05-08 09:58:17 +0200
commite81e5bce9fbfc448ebdca9c40b5f2d377e5e5cec (patch)
tree8502f193008f8068f1fa5d40acbcad5f289a960c
parent2ccf2caad6af15a1bf286b7ee25d0524361f377f (diff)
doc/examples: fix missing config files in release tarballs
All config file examples must be listed in EXTRA_DIST unconditionally. Adding them conditionally results in incomplete release tarballs, containing only some '*.cfg' files and failing to build. Change-Id: Iffb6d7577de175fc5d14642f0af6852508d74e69 Related: OS#6349 (cherry picked from commit a2d76f1d2fe7a1b162fe183695fb479b13c27aac)
-rw-r--r--doc/examples/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 0b06130..ac87457 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -1,3 +1,15 @@
+# all config examples must be listed here unconditionally, so that
+# all of them end up in the release tarball (see OS#6349)
+EXTRA_DIST = \
+ osmo-trx-uhd/osmo-trx-limesdr.cfg \
+ osmo-trx-uhd/osmo-trx-usrp_b200.cfg \
+ osmo-trx-uhd/osmo-trx-uhd.cfg \
+ osmo-trx-uhd/osmo-trx-umtrx.cfg \
+ osmo-trx-lms/osmo-trx-limesdr.cfg \
+ osmo-trx-lms/osmo-trx-lms.cfg \
+ osmo-trx-ipc/osmo-trx-ipc.cfg \
+ $(NULL)
+
OSMOCONF_FILES =
osmoconfdir = $(sysconfdir)/osmocom
@@ -19,7 +31,6 @@ OSMOCONF_FILES += osmo-trx-ipc/osmo-trx-ipc.cfg
endif
osmoconf_DATA = $(OSMOCONF_FILES)
-EXTRA_DIST = $(OSMOCONF_FILES)
CFG_FILES = find $(srcdir) -type f -name '*.cfg*' | sed -e 's,^$(srcdir),,'