summaryrefslogtreecommitdiffstats
path: root/system/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'system/Makefile.am')
-rw-r--r--system/Makefile.am71
1 files changed, 71 insertions, 0 deletions
diff --git a/system/Makefile.am b/system/Makefile.am
new file mode 100644
index 0000000..72d123d
--- /dev/null
+++ b/system/Makefile.am
@@ -0,0 +1,71 @@
+# Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+CLEANFILES = \
+ edit-config \
+ netdata-openrc \
+ netdata.logrotate \
+ netdata.service \
+ netdata.service.v235 \
+ netdata-init-d \
+ netdata-lsb \
+ netdata-freebsd \
+ netdata.plist \
+ netdata.crontab \
+ netdata-updater.service \
+ $(NULL)
+
+include $(top_srcdir)/build/subst.inc
+SUFFIXES = .in
+
+dist_config_SCRIPTS = \
+ edit-config \
+ $(NULL)
+
+dist_config_DATA = \
+ .install-type \
+ $(NULL)
+
+# Explicitly install directories to avoid permission issues due to umask
+install-exec-local:
+ $(INSTALL) -d $(DESTDIR)$(configdir)
+ $(INSTALL) -d $(DESTDIR)$(libsysdir)
+
+libexecnetdatadir=$(libexecdir)/netdata
+nodist_libexecnetdata_SCRIPTS = \
+ install-service.sh \
+ $(NULL)
+
+nodist_libsys_DATA = \
+ netdata-openrc \
+ netdata.logrotate \
+ netdata.service \
+ netdata.service.v235 \
+ netdata-init-d \
+ netdata-lsb \
+ netdata-freebsd \
+ netdata.plist \
+ netdata.crontab \
+ 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 \
+ netdata.service.v235.in \
+ netdata-init-d.in \
+ netdata-lsb.in \
+ netdata-freebsd.in \
+ netdata.plist.in \
+ netdata.conf \
+ netdata.crontab.in \
+ netdata-updater.service.in \
+ $(NULL)