doc/examples: install bankd_pcsc_slots.csv

Related: SYS#5187
Change-Id: Iba0b98729ae2a830e05d1b337b33259dcae25d15
changes/43/24743/1
Oliver Smith 1 year ago
parent debcd86e40
commit 905bc4d2b1
  1. 1
      configure.ac
  2. 1
      contrib/osmo-remsim.spec.in
  3. 1
      debian/osmo-remsim-bankd.install
  4. 1
      doc/Makefile.am
  5. 29
      doc/examples/Makefile.am

@ -199,6 +199,7 @@ AC_OUTPUT(
contrib/systemd/Makefile
contrib/osmo-remsim.spec
doc/Makefile
doc/examples/Makefile
doc/manuals/Makefile
src/Makefile
src/rspro/Makefile

@ -194,6 +194,7 @@ make %{?_smp_mflags} check || find . -name testsuite.log -exec cat {} +
%{_bindir}/osmo-remsim-bankd
%{_unitdir}/osmo-remsim-bankd.service
%config(noreplace) %{_sysconfdir}/default/osmo-remsim-bankd
%config(noreplace) %{_sysconfdir}/osmocom/bankd_pcsc_slots.csv
%files -n osmo-remsim-client-shell
%{_bindir}/osmo-remsim-client-shell

@ -1,3 +1,4 @@
usr/bin/osmo-remsim-bankd
lib/systemd/system/osmo-remsim-bankd.service
etc/default/osmo-remsim-bankd
etc/osmocom/bankd_pcsc_slots.csv

@ -1,4 +1,5 @@
SUBDIRS = \
examples \
manuals \
$(NULL)

@ -0,0 +1,29 @@
OSMOCONF_FILES = \
bankd_pcsc_slots.csv \
$(NULL)
osmoconfdir = $(sysconfdir)/osmocom
osmoconf_DATA = $(OSMOCONF_FILES)
EXTRA_DIST = $(OSMOCONF_FILES)
CFG_FILES = find $(srcdir) -name '*.cfg*' -o -name '*.csv' | sed -e 's,^$(srcdir),,'
dist-hook:
for f in $$($(CFG_FILES)); do \
j="$(distdir)/$$f" && \
$(INSTALL_DATA) -D $(srcdir)/$$f $$j; \
done
install-data-hook:
for f in $$($(CFG_FILES)); do \
j="$(DESTDIR)$(docdir)/examples/$$f" && \
$(INSTALL_DATA) -D $(srcdir)/$$f $$j; \
done
uninstall-hook:
@$(PRE_UNINSTALL)
for f in $$($(CFG_FILES)); do \
j="$(DESTDIR)$(docdir)/examples/$$f" && \
$(RM) $$j; \
done
Loading…
Cancel
Save