This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/19078 ) Change subject: add example configurations ...................................................................... add example configurations Change-Id: I25c28f7a1eeb4deaebba3b2fd593cbbdceb1fa07 --- M Makefile.am M configure.ac A doc/Makefile.am A doc/examples/Makefile.am A doc/examples/osmo-e1d-vpair.cfg A doc/examples/osmo-e1d.cfg 6 files changed, 41 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved tnt: Looks good to me, but someone else must approve diff --git a/Makefile.am b/Makefile.am index 9862cd8..029b599 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1,14 @@ AUTOMAKE_OPTIONS = foreign dist-bzip2 SUBDIRS = \ + doc \ src \ include \ $(NULL) EXTRA_DIST = \ .version \ + doc \ $(NULL) pkgconfigdir = $(libdir)/pkgconfig diff --git a/configure.ac b/configure.ac index 5be845b..0320b6f 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,8 @@ AC_OUTPUT( Makefile + doc/Makefile + doc/examples/Makefile src/Makefile include/Makefile libosmo-e1d.pc diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000..8acb8f8 --- /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 0000000..9fd345c --- /dev/null +++ b/doc/examples/Makefile.am @@ -0,0 +1,32 @@ +OSMOCONF_FILES = \ + osmo-e1d.cfg \ + osmo-e1d-vpair.cfg \ + $(NULL) + +osmoconfdir = $(sysconfdir)/osmocom +osmoconf_DATA = $(OSMOCONF_FILES) + +EXTRA_DIST = $(OSMOCONF_FILES) + +CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,' + +dist-hook: + for f in $$($(CFG_FILES)); do \ + j="$(distdir)/$$f" && \ + mkdir -p "$$(dirname $$j)" && \ + $(INSTALL_DATA) $(srcdir)/$$f $$j; \ + done + +install-data-hook: + for f in $$($(CFG_FILES)); do \ + j="$(DESTDIR)$(docdir)/examples/$$f" && \ + mkdir -p "$$(dirname $$j)" && \ + $(INSTALL_DATA) $(srcdir)/$$f $$j; \ + done + +uninstall-hook: + @$(PRE_UNINSTALL) + for f in $$($(CFG_FILES)); do \ + j="$(DESTDIR)$(docdir)/examples/$$f" && \ + $(RM) $$j; \ + done diff --git a/doc/examples/osmo-e1d-vpair.cfg b/doc/examples/osmo-e1d-vpair.cfg new file mode 100644 index 0000000..32742de --- /dev/null +++ b/doc/examples/osmo-e1d-vpair.cfg @@ -0,0 +1,2 @@ + +virtual-e1-pair 1 diff --git a/doc/examples/osmo-e1d.cfg b/doc/examples/osmo-e1d.cfg new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/doc/examples/osmo-e1d.cfg -- To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/19078 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-e1d Gerrit-Branch: master Gerrit-Change-Id: I25c28f7a1eeb4deaebba3b2fd593cbbdceb1fa07 Gerrit-Change-Number: 19078 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge at osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-Reviewer: tnt <tnt at 246tNt.com> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200701/6e0d94ae/attachment.htm>