summaryrefslogtreecommitdiffstats
path: root/system/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'system/Makefile.am')
-rw-r--r--system/Makefile.am61
1 files changed, 32 insertions, 29 deletions
diff --git a/system/Makefile.am b/system/Makefile.am
index b085dca8..ad68c655 100644
--- a/system/Makefile.am
+++ b/system/Makefile.am
@@ -1,18 +1,17 @@
-#
# Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later
-#
-MAINTAINERCLEANFILES= $(srcdir)/Makefile.in
+
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
CLEANFILES = \
edit-config \
- netdata-openrc \
- netdata.logrotate \
- netdata.service \
- netdata-init-d \
- netdata-lsb \
- netdata-freebsd \
- netdata.plist \
- $(NULL)
+ netdata-openrc \
+ netdata.logrotate \
+ netdata.service \
+ netdata-init-d \
+ netdata-lsb \
+ netdata-freebsd \
+ netdata.plist \
+ $(NULL)
include $(top_srcdir)/build/subst.inc
SUFFIXES = .in
@@ -21,24 +20,28 @@ dist_config_SCRIPTS = \
edit-config \
$(NULL)
+# Explicitly install directories to avoid permission issues due to umask
+install-exec-local:
+ $(INSTALL) -d $(DESTDIR)$(configdir)
+
nodist_noinst_DATA = \
- netdata-openrc \
- netdata.logrotate \
- netdata.service \
- netdata-init-d \
- netdata-lsb \
- netdata-freebsd \
- netdata.plist \
- $(NULL)
+ netdata-openrc \
+ netdata.logrotate \
+ netdata.service \
+ netdata-init-d \
+ netdata-lsb \
+ netdata-freebsd \
+ netdata.plist \
+ $(NULL)
dist_noinst_DATA = \
- edit-config.in \
- netdata-openrc.in \
- netdata.logrotate.in \
- netdata.service.in \
- netdata-init-d.in \
- netdata-lsb.in \
- netdata-freebsd.in \
- netdata.plist.in \
- netdata.conf \
- $(NULL)
+ edit-config.in \
+ netdata-openrc.in \
+ netdata.logrotate.in \
+ netdata.service.in \
+ netdata-init-d.in \
+ netdata-lsb.in \
+ netdata-freebsd.in \
+ netdata.plist.in \
+ netdata.conf \
+ $(NULL)