summaryrefslogtreecommitdiffstats
path: root/logsmanagement/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'logsmanagement/Makefile.am')
-rw-r--r--logsmanagement/Makefile.am28
1 files changed, 28 insertions, 0 deletions
diff --git a/logsmanagement/Makefile.am b/logsmanagement/Makefile.am
new file mode 100644
index 000000000..33f08d556
--- /dev/null
+++ b/logsmanagement/Makefile.am
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+AUTOMAKE_OPTIONS = subdir-objects
+MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+
+userlogsmanagconfigdir=$(configdir)/logsmanagement.d
+
+# Explicitly install directories to avoid permission issues due to umask
+install-exec-local:
+ $(INSTALL) -d $(DESTDIR)$(userlogsmanagconfigdir)
+
+dist_libconfig_DATA = \
+ stock_conf/logsmanagement.d.conf \
+ $(NULL)
+
+logsmanagconfigdir=$(libconfigdir)/logsmanagement.d
+
+dist_logsmanagconfig_DATA = \
+ stock_conf/logsmanagement.d/default.conf \
+ stock_conf/logsmanagement.d/example_forward.conf \
+ stock_conf/logsmanagement.d/example_mqtt.conf \
+ stock_conf/logsmanagement.d/example_serial.conf \
+ stock_conf/logsmanagement.d/example_syslog.conf \
+ $(NULL)
+
+dist_noinst_DATA = \
+ README.md \
+ $(NULL)