summaryrefslogtreecommitdiffstats
path: root/collectors/statsd.plugin/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/statsd.plugin/Makefile.am')
-rw-r--r--collectors/statsd.plugin/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/collectors/statsd.plugin/Makefile.am b/collectors/statsd.plugin/Makefile.am
index e63bf98b4..87b6ca7a9 100644
--- a/collectors/statsd.plugin/Makefile.am
+++ b/collectors/statsd.plugin/Makefile.am
@@ -4,8 +4,8 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
dist_noinst_DATA = \
- README.md \
- $(NULL)
+ README.md \
+ $(NULL)
statsdconfigdir=$(libconfigdir)/statsd.d
dist_statsdconfig_DATA = \
@@ -17,3 +17,6 @@ dist_userstatsdconfig_DATA = \
.keep \
$(NULL)
+# Explicitly install directories to avoid permission issues due to umask
+install-exec-local:
+ $(INSTALL) -d $(DESTDIR)$(userstatsdconfigdir)