summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 19:53:36 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 20:29:17 +0200
commite3fb25828471c4125efd3d529030cc455a4cf429 (patch)
tree416d8e8810d5e6e77943bb2d20058c6a0e78439e
parentb47fc45642382399814d5f3b460a6a1f887173b3 (diff)
Install sample cfg file to /etc/osmocompespin/systemd
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac2
-rw-r--r--debian/osmo-sip-connector.install2
-rw-r--r--doc/Makefile.am1
-rw-r--r--doc/examples/Makefile.am7
5 files changed, 13 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 7c1e00c..84b252a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
-SUBDIRS = src tests contrib
+SUBDIRS = src tests contrib doc
BUILT_SOURCES = $(top_srcdir)/.version
EXTRA_DIST = git-version-gen osmoappdesc.py .version
diff --git a/configure.ac b/configure.ac
index 1514faa..98fdc94 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,4 +91,6 @@ AC_OUTPUT(
tests/Makefile
contrib/Makefile
contrib/systemd/Makefile
+ doc/Makefile
+ doc/examples/Makefile
Makefile)
diff --git a/debian/osmo-sip-connector.install b/debian/osmo-sip-connector.install
index b776fda..335531f 100644
--- a/debian/osmo-sip-connector.install
+++ b/debian/osmo-sip-connector.install
@@ -1,2 +1,4 @@
+etc/osmocom/osmo-sip-connector.cfg
lib/systemd/system/osmo-sip-connector.service
usr/bin/osmo-sip-connector
+usr/share/doc/osmo-sip-connector/examples/osmo-sip-connector/osmo-sip-connector.cfg
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/doc/examples/Makefile.am b/doc/examples/Makefile.am
new file mode 100644
index 0000000..d3b851f
--- /dev/null
+++ b/doc/examples/Makefile.am
@@ -0,0 +1,7 @@
+examples_sipcdir = $(docdir)/examples/osmo-sip-connector
+examples_sipc_DATA = osmo-sip-connector.cfg
+
+osmoconfdir = $(sysconfdir)/osmocom
+osmoconf_DATA = osmo-sip-connector.cfg
+
+EXTRA_DIST = osmo-sip-connector.cfg