add example configurations
Change-Id: I25c28f7a1eeb4deaebba3b2fd593cbbdceb1fa07
This commit is contained in:
parent
de22257ee1
commit
171e7a3a06
|
@ -1,12 +1,14 @@
|
||||||
AUTOMAKE_OPTIONS = foreign dist-bzip2
|
AUTOMAKE_OPTIONS = foreign dist-bzip2
|
||||||
|
|
||||||
SUBDIRS = \
|
SUBDIRS = \
|
||||||
|
doc \
|
||||||
src \
|
src \
|
||||||
include \
|
include \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
.version \
|
.version \
|
||||||
|
doc \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
pkgconfigdir = $(libdir)/pkgconfig
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
|
|
@ -74,6 +74,8 @@ fi
|
||||||
|
|
||||||
AC_OUTPUT(
|
AC_OUTPUT(
|
||||||
Makefile
|
Makefile
|
||||||
|
doc/Makefile
|
||||||
|
doc/examples/Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
include/Makefile
|
include/Makefile
|
||||||
libosmo-e1d.pc
|
libosmo-e1d.pc
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
SUBDIRS = \
|
||||||
|
examples \
|
||||||
|
$(NULL)
|
|
@ -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
|
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
virtual-e1-pair 1
|
Loading…
Reference in New Issue