summaryrefslogtreecommitdiffstats
path: root/system/Makefile.am
blob: a88ccab654c509d60025dba6ce1c031379343c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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)

nodist_noinst_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_noinst_DATA = \
    edit-config.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 \
    netdata-updater.timer \
    $(NULL)