diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-02 13:04:44 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-07-02 16:36:14 +0200 |
commit | 46491d15cd7d2b4016212722cba5436bb4281d6e (patch) | |
tree | 8ca9937a5d2f71de87b5da6b77a63ad89f021c90 | |
parent | cf55fbede9a7fc75d919ee7130d75be98b349932 (diff) |
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
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | doc/Makefile.am | 3 | ||||
-rw-r--r-- | doc/examples/Makefile.am | 38 |
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 |