aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 19:14:07 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-13 11:36:01 +0200
commitac5e3e222a8ada3fa6e3a3253d4776310a58324d (patch)
treeb08970d395ddb69da075320d913d0fda2d0e0a7f
parent516697e29a090c0137c49c66731b5d93125e8f7e (diff)
Move examples/ to doc/examples/
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac3
-rw-r--r--doc/Makefile.am1
-rw-r--r--doc/examples/Makefile.am (renamed from examples/Makefile.am)0
-rw-r--r--doc/examples/osmo-pcu.cfg (renamed from examples/osmo-pcu.cfg)0
-rw-r--r--osmoappdesc.py4
6 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 240e4ee2..723c9ed8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
-SUBDIRS = include src examples tests contrib
+SUBDIRS = include src doc tests contrib
EXTRA_DIST = osmoappdesc.py README.md
DISTCHECK_CONFIGURE_FLAGS = \
diff --git a/configure.ac b/configure.ac
index 90394e12..b5774ee9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,7 +182,8 @@ AC_OUTPUT(
osmo-pcu.pc
include/Makefile
src/Makefile
- examples/Makefile
+ doc/Makefile
+ doc/examples/Makefile
tests/Makefile
contrib/Makefile
contrib/systemd/Makefile
diff --git a/doc/Makefile.am b/doc/Makefile.am
new file mode 100644
index 00000000..aee2d7ba
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = examples
diff --git a/examples/Makefile.am b/doc/examples/Makefile.am
index 15001494..15001494 100644
--- a/examples/Makefile.am
+++ b/doc/examples/Makefile.am
diff --git a/examples/osmo-pcu.cfg b/doc/examples/osmo-pcu.cfg
index b88e6e7b..b88e6e7b 100644
--- a/examples/osmo-pcu.cfg
+++ b/doc/examples/osmo-pcu.cfg
diff --git a/osmoappdesc.py b/osmoappdesc.py
index b202dc69..b3938f55 100644
--- a/osmoappdesc.py
+++ b/osmoappdesc.py
@@ -15,12 +15,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
app_configs = {
- "osmo-pcu": ["examples/osmo-pcu.cfg"]
+ "osmo-pcu": ["doc/examples/osmo-pcu.cfg"]
}
apps = [(4240, "src/osmo-pcu", "Osmo-PCU", "osmo-pcu"),
]
-vty_command = ["src/osmo-pcu", "-c", "examples/osmo-pcu.cfg"]
+vty_command = ["src/osmo-pcu", "-c", "doc/examples/osmo-pcu.cfg"]
vty_app = apps[0]