aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--doc/Makefile.am3
-rw-r--r--doc/examples/Makefile.am38
4 files changed, 44 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index dc425741..10ff2d27 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 b364e4df..d4572bc3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -306,4 +306,6 @@ AC_OUTPUT(
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 00000000..1d42b0aa
--- /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 00000000..e4be5fce
--- /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