Change in osmo-bts[master]: build: Install example cfg files

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Mon Jul 2 17:06:54 UTC 2018


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/9820 )

Change subject: build: Install example cfg files
......................................................................

build: Install example cfg files

Files from doc/examples/foo/bar.cfg are install to
/usr/share/doc/osmo-bts/examples/osmo-bts-foo/bar.cfg.

Change-Id: I7525d5a3e1a3c83a54f919cce9096303dd506f35
---
M Makefile.am
M configure.ac
A doc/Makefile.am
A doc/examples/Makefile.am
4 files changed, 44 insertions(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/Makefile.am b/Makefile.am
index dc42574..10ff2d2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
 AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
 
-SUBDIRS = include src tests
+SUBDIRS = include src tests doc
 
 
 # package the contrib and doc
diff --git a/configure.ac b/configure.ac
index b364e4d..d4572bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -306,4 +306,6 @@
     tests/tx_power/Makefile
     tests/power/Makefile
     tests/meas/Makefile
+    doc/Makefile
+    doc/examples/Makefile
     Makefile)
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 0000000..1d42b0a
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1,3 @@
+SUBDIRS = \
+        examples \
+        $(NULL)
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
new file mode 100644
index 0000000..e4be5fc
--- /dev/null
+++ b/doc/examples/Makefile.am
@@ -0,0 +1,38 @@
+
+doc_virtualdir = $(docdir)/examples/osmo-bts-virtual
+doc_virtual_DATA = \
+        virtual/osmobts-virtual.cfg \
+        virtual/openbsc-virtual.cfg
+EXTRA_DIST = $(doc_virtual_DATA)
+
+if ENABLE_SYSMOBTS
+doc_sysmodir = $(docdir)/examples/osmo-bts-sysmo
+doc_sysmo_DATA = \
+        sysmo/osmo-bts.cfg \
+        sysmo/sysmobts-mgr.cfg
+EXTRA_DIST += $(doc_sysmo_DATA)
+endif
+
+if ENABLE_TRX
+doc_trxdir = $(docdir)/examples/osmo-bts-trx
+doc_trx_DATA = \
+        trx/osmo-bts.cfg \
+        trx/osmo-bts-trx-calypso.cfg
+EXTRA_DIST += $(doc_trx_DATA)
+endif
+
+if ENABLE_OCTPHY
+doc_octphydir = $(docdir)/examples/osmo-bts-octphy
+doc_octphy_DATA = \
+        octphy/osmo-bts-trx2dsp1.cfg \
+        octphy/osmo-bts.cfg
+EXTRA_DIST += $(doc_octphy_DATA)
+endif
+
+if ENABLE_LC15BTS
+doc_lc15dir = $(docdir)/examples/osmo-bts-lc15
+doc_lc15_DATA = \
+        litecell15/osmo-bts.cfg \
+        litecell15/lc15bts-mgr.cfg
+EXTRA_DIST += $(doc_lc15_DATA)
+endif

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7525d5a3e1a3c83a54f919cce9096303dd506f35
Gerrit-Change-Number: 9820
Gerrit-PatchSet: 3
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180702/fb45ee6d/attachment.htm>


More information about the gerrit-log mailing list