mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
synced 2025-10-23 08:22:07 +00:00
Move examples to doc/examples and include them in DIST
Change-Id: I0846e21ac63774939934ab629c6d7212269be9a6
This commit is contained in:
@@ -141,6 +141,7 @@ PKG_CHECK_MODULES(LIBOSMOCTRL, libosmoctrl)
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
doc/Makefile
|
||||
doc/examples/Makefile
|
||||
ggsn/Makefile
|
||||
gtp/Makefile
|
||||
lib/Makefile
|
||||
|
4
debian/osmo-ggsn.examples
vendored
4
debian/osmo-ggsn.examples
vendored
@@ -1,2 +1,2 @@
|
||||
examples/osmo-ggsn.conf
|
||||
examples/sgsnemu.conf
|
||||
doc/examples/osmo-ggsn.conf
|
||||
doc/examples/sgsnemu.conf
|
||||
|
@@ -2,5 +2,6 @@ man_MANS = osmo-ggsn.8 sgsnemu.8
|
||||
man_aux = $(man_MANS:.1=.x)
|
||||
EXTRA_DIST = $(man_MANS)
|
||||
|
||||
|
||||
|
||||
SUBDIRS = \
|
||||
examples \
|
||||
$(NULL)
|
||||
|
22
doc/examples/Makefile.am
Normal file
22
doc/examples/Makefile.am
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
Reference in New Issue
Block a user