neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/33182 )
Change subject: dist: package all .cfg files ......................................................................
dist: package all .cfg files
Fix confusion in doc/examples/Makefile.am: there are two variables, $OSMOCONF_FILES and $CFG_FILES, with various levels of collecting all cfg files and having an effect...
Drop $OSMOCONF_FILES. Use $CFG_FILES for EXTRA_DIST.
Change-Id: I5fbba1f005c4322a9a11879ebf3dd1d6c25d2cd5 --- M doc/examples/Makefile.am 1 file changed, 17 insertions(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/82/33182/1
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am index d1c6d51..b31772d 100644 --- a/doc/examples/Makefile.am +++ b/doc/examples/Makefile.am @@ -1,12 +1,5 @@ -OSMOCONF_FILES = \ - osmo-hnbgw/osmo-hnbgw.cfg - -osmoconfdir = $(sysconfdir)/osmocom -osmoconf_DATA = $(OSMOCONF_FILES) - -EXTRA_DIST = $(OSMOCONF_FILES) - CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,' +EXTRA_DIST = $(CFG_FILES)
dist-hook: for f in $$($(CFG_FILES)); do \