Pau Espin Pedrol has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/10922 )

Change subject: Move examples/ to doc/examples/
......................................................................

Move examples/ to doc/examples/

Change-Id: I1e163e10f8a2e22b9ebdcb2d0f13f6ad07c84efe
---
M Makefile.am
M configure.ac
A doc/Makefile.am
R doc/examples/Makefile.am
R doc/examples/osmo-pcu.cfg
M osmoappdesc.py
6 files changed, 6 insertions(+), 4 deletions(-)

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



diff --git a/Makefile.am b/Makefile.am
index 240e4ee..723c9ed 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 90394e1..b5774ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -182,7 +182,8 @@
     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 0000000..aee2d7b
--- /dev/null
+++ b/doc/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = examples
diff --git a/examples/Makefile.am b/doc/examples/Makefile.am
similarity index 100%
rename from examples/Makefile.am
rename to doc/examples/Makefile.am
diff --git a/examples/osmo-pcu.cfg b/doc/examples/osmo-pcu.cfg
similarity index 100%
rename from examples/osmo-pcu.cfg
rename to doc/examples/osmo-pcu.cfg
diff --git a/osmoappdesc.py b/osmoappdesc.py
index b202dc6..b3938f5 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]

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1e163e10f8a2e22b9ebdcb2d0f13f6ad07c84efe
Gerrit-Change-Number: 10922
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>

Reply via email to