fixeria submitted this change.
Makefile: install 'sys.config' to /etc/osmocom/osmo-dia2gsup.config
Related: OS#6148
Change-Id: I3b2595ca3d82a2ead8fb5560fcc281091e320aa9
---
M Makefile
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index f08f388..919bdd4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
CONFIG ?= examples/sys.config
# directory paths for 'install'
BINDIR ?= /usr/bin
+CONFDIR ?= /etc/osmocom
SYSTEMDUNITDIR ?= /lib/systemd/system/
all: build
@@ -25,6 +26,8 @@
install: build
install -Dm0755 _build/default/bin/osmo-dia2gsup \
$(DESTDIR)$(BINDIR)/osmo-dia2gsup
+ install -Dm0644 examples/sys.config \
+ $(DESTDIR)$(CONFDIR)/osmo-dia2gsup.config
install -Dm0644 contrib/systemd/osmo_dia2gsup.service \
$(DESTDIR)$(SYSTEMDUNITDIR)/osmo_dia2gsup.service
To view, visit change 37717. To unsubscribe, or for help writing mail filters, visit settings.