summaryrefslogtreecommitdiffstats
path: root/system/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'system/Makefile.am')
-rw-r--r--system/Makefile.am14
1 files changed, 12 insertions, 2 deletions
diff --git a/system/Makefile.am b/system/Makefile.am
index a88ccab6..72d123da 100644
--- a/system/Makefile.am
+++ b/system/Makefile.am
@@ -30,8 +30,14 @@ dist_config_DATA = \
# Explicitly install directories to avoid permission issues due to umask
install-exec-local:
$(INSTALL) -d $(DESTDIR)$(configdir)
+ $(INSTALL) -d $(DESTDIR)$(libsysdir)
-nodist_noinst_DATA = \
+libexecnetdatadir=$(libexecdir)/netdata
+nodist_libexecnetdata_SCRIPTS = \
+ install-service.sh \
+ $(NULL)
+
+nodist_libsys_DATA = \
netdata-openrc \
netdata.logrotate \
netdata.service \
@@ -44,8 +50,13 @@ nodist_noinst_DATA = \
netdata-updater.service \
$(NULL)
+dist_libsys_DATA = \
+ netdata-updater.timer \
+ $(NULL)
+
dist_noinst_DATA = \
edit-config.in \
+ install-service.sh.in \
netdata-openrc.in \
netdata.logrotate.in \
netdata.service.in \
@@ -57,5 +68,4 @@ dist_noinst_DATA = \
netdata.conf \
netdata.crontab.in \
netdata-updater.service.in \
- netdata-updater.timer \
$(NULL)