summaryrefslogtreecommitdiffstats
path: root/collectors/charts.d.plugin/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/charts.d.plugin/Makefile.am')
-rw-r--r--collectors/charts.d.plugin/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/collectors/charts.d.plugin/Makefile.am b/collectors/charts.d.plugin/Makefile.am
index 2989b4b8d..b3b2fb927 100644
--- a/collectors/charts.d.plugin/Makefile.am
+++ b/collectors/charts.d.plugin/Makefile.am
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
-
CLEANFILES = \
charts.d.plugin \
$(NULL)
@@ -35,6 +34,10 @@ dist_userchartsconfig_DATA = \
.keep \
$(NULL)
+# Explicitly install directories to avoid permission issues due to umask
+install-exec-local:
+ $(INSTALL) -d $(DESTDIR)$(userchartsconfigdir)
+
chartsconfigdir=$(libconfigdir)/charts.d
dist_chartsconfig_DATA = \
$(NULL)