blob: 7441d4836f316bb4cfdeae27affb6fcb6d466de8 [file] [log] [blame]
Pau Espin Pedrol37c1ffd2018-09-12 18:07:50 +02001osmoconfdir = $(sysconfdir)/osmocom
2osmoconf_DATA = osmo-hnbgw.cfg
3
4EXTRA_DIST = osmo-hnbgw.cfg
Neels Hofmeyr01c71fc2016-08-18 16:11:37 +02005
6CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,'
7
8dist-hook:
9 for f in $$($(CFG_FILES)); do \
10 j="$(distdir)/$$f" && \
11 mkdir -p "$$(dirname $$j)" && \
12 $(INSTALL_DATA) $(srcdir)/$$f $$j; \
13 done
14
15install-data-hook:
16 for f in $$($(CFG_FILES)); do \
17 j="$(DESTDIR)$(docdir)/examples/$$f" && \
18 mkdir -p "$$(dirname $$j)" && \
19 $(INSTALL_DATA) $(srcdir)/$$f $$j; \
20 done
21
22uninstall-hook:
23 @$(PRE_UNINSTALL)
24 for f in $$($(CFG_FILES)); do \
25 j="$(DESTDIR)$(docdir)/examples/$$f" && \
26 $(RM) $$j; \
27 done