Skip to content

Commit

Permalink
Makefile.am files indentation (netdata#7252)
Browse files Browse the repository at this point in the history
* Use 4 spaces for indentation of non-recipe lines in Makefile.am files

* Be more consistent in the use of space before = in Makefile.am files
  • Loading branch information
knatsakis authored Nov 10, 2019
1 parent 9a8c320 commit 675383b
Show file tree
Hide file tree
Showing 105 changed files with 660 additions and 686 deletions.
442 changes: 221 additions & 221 deletions Makefile.am

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions backends/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ SUBDIRS = \
prometheus \
aws_kinesis \
mongodb \
$(NULL)
$(NULL)

dist_noinst_DATA = \
README.md \
WALKTHROUGH.md \
$(NULL)
README.md \
WALKTHROUGH.md \
$(NULL)

dist_noinst_SCRIPTS = \
nc-backend.sh \
$(NULL)
nc-backend.sh \
$(NULL)
6 changes: 3 additions & 3 deletions backends/aws_kinesis/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)

dist_libconfig_DATA = \
aws_kinesis.conf \
$(NULL)
$(NULL)
8 changes: 4 additions & 4 deletions backends/mongodb/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)

dist_libconfig_DATA = \
mongodb.conf \
$(NULL)
mongodb.conf \
$(NULL)
8 changes: 4 additions & 4 deletions backends/prometheus/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

SUBDIRS = \
remote_write \
$(NULL)
remote_write \
$(NULL)

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
12 changes: 6 additions & 6 deletions backends/prometheus/remote_write/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

CLEANFILES = \
remote_write.pb.cc \
remote_write.pb.h \
$(NULL)
remote_write.pb.cc \
remote_write.pb.h \
$(NULL)

dist_noinst_DATA = \
remote_write.proto \
README.md \
$(NULL)
remote_write.proto \
README.md \
$(NULL)
7 changes: 3 additions & 4 deletions collectors/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ SUBDIRS = \
slabinfo.plugin \
statsd.plugin \
tc.plugin \
$(NULL)

$(NULL)

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
5 changes: 2 additions & 3 deletions collectors/apps.plugin/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# SPDX-License-Identifier: GPL-3.0-or-later

AUTOMAKE_OPTIONS = subdir-objects

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)

dist_libconfig_DATA = \
apps_groups.conf \
Expand Down
16 changes: 8 additions & 8 deletions collectors/cgroups.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

CLEANFILES = \
cgroup-name.sh \
$(NULL)
cgroup-name.sh \
$(NULL)

include $(top_srcdir)/build/subst.inc
SUFFIXES = .in

dist_plugins_SCRIPTS = \
cgroup-name.sh \
cgroup-network-helper.sh \
$(NULL)
cgroup-name.sh \
cgroup-network-helper.sh \
$(NULL)

dist_noinst_DATA = \
cgroup-name.sh.in \
README.md \
$(NULL)
cgroup-name.sh.in \
README.md \
$(NULL)
1 change: 0 additions & 1 deletion collectors/charts.d.plugin/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

CLEANFILES = \
charts.d.plugin \
$(NULL)
Expand Down
4 changes: 2 additions & 2 deletions collectors/checks.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
5 changes: 2 additions & 3 deletions collectors/cups.plugin/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later

AUTOMAKE_OPTIONS = subdir-objects

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
4 changes: 2 additions & 2 deletions collectors/diskspace.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
14 changes: 7 additions & 7 deletions collectors/fping.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

CLEANFILES = \
fping.plugin \
$(NULL)
fping.plugin \
$(NULL)

include $(top_srcdir)/build/subst.inc
SUFFIXES = .in

dist_plugins_SCRIPTS = \
fping.plugin \
$(NULL)
fping.plugin \
$(NULL)

dist_noinst_DATA = \
fping.plugin.in \
README.md \
$(NULL)
fping.plugin.in \
README.md \
$(NULL)

dist_libconfig_DATA = \
fping.conf \
Expand Down
5 changes: 2 additions & 3 deletions collectors/freebsd.plugin/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later

AUTOMAKE_OPTIONS = subdir-objects

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
4 changes: 2 additions & 2 deletions collectors/freeipmi.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
4 changes: 2 additions & 2 deletions collectors/idlejitter.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
14 changes: 7 additions & 7 deletions collectors/ioping.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

CLEANFILES = \
ioping.plugin \
$(NULL)
ioping.plugin \
$(NULL)

include $(top_srcdir)/build/subst.inc
SUFFIXES = .in

dist_plugins_SCRIPTS = \
ioping.plugin \
$(NULL)
ioping.plugin \
$(NULL)

dist_noinst_DATA = \
ioping.plugin.in \
README.md \
$(NULL)
ioping.plugin.in \
README.md \
$(NULL)

dist_libconfig_DATA = \
ioping.conf \
Expand Down
4 changes: 2 additions & 2 deletions collectors/macos.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
4 changes: 2 additions & 2 deletions collectors/nfacct.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
40 changes: 20 additions & 20 deletions collectors/node.d.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
CLEANFILES = \
node.d.plugin \
$(NULL)
node.d.plugin \
$(NULL)

include $(top_srcdir)/build/subst.inc
SUFFIXES = .in
Expand All @@ -13,13 +13,13 @@ dist_libconfig_DATA = \
$(NULL)

dist_plugins_SCRIPTS = \
node.d.plugin \
$(NULL)
node.d.plugin \
$(NULL)

dist_noinst_DATA = \
node.d.plugin.in \
README.md \
$(NULL)
node.d.plugin.in \
README.md \
$(NULL)

usernodeconfigdir=$(configdir)/node.d
dist_usernodeconfig_DATA = \
Expand All @@ -31,7 +31,7 @@ dist_nodeconfig_DATA = \
$(NULL)

dist_node_DATA = \
$(NULL)
$(NULL)

include fronius/Makefile.inc
include named/Makefile.inc
Expand All @@ -41,18 +41,18 @@ include stiebeleltron/Makefile.inc

nodemodulesdir=$(nodedir)/node_modules
dist_nodemodules_DATA = \
node_modules/netdata.js \
node_modules/extend.js \
node_modules/pixl-xml.js \
node_modules/net-snmp.js \
node_modules/asn1-ber.js \
$(NULL)
node_modules/netdata.js \
node_modules/extend.js \
node_modules/pixl-xml.js \
node_modules/net-snmp.js \
node_modules/asn1-ber.js \
$(NULL)

nodemoduleslibberdir=$(nodedir)/node_modules/lib/ber
dist_nodemoduleslibber_DATA = \
node_modules/lib/ber/index.js \
node_modules/lib/ber/errors.js \
node_modules/lib/ber/reader.js \
node_modules/lib/ber/types.js \
node_modules/lib/ber/writer.js \
$(NULL)
node_modules/lib/ber/index.js \
node_modules/lib/ber/errors.js \
node_modules/lib/ber/reader.js \
node_modules/lib/ber/types.js \
node_modules/lib/ber/writer.js \
$(NULL)
4 changes: 2 additions & 2 deletions collectors/perf.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
4 changes: 2 additions & 2 deletions collectors/proc.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ AUTOMAKE_OPTIONS = subdir-objects
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in

dist_noinst_DATA = \
README.md \
$(NULL)
README.md \
$(NULL)
1 change: 1 addition & 0 deletions collectors/python.d.plugin/gearman/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dist_pythonconfig_DATA += gearman/gearman.conf

# do not install these files, but include them in the distribution
dist_noinst_DATA += gearman/README.md gearman/Makefile.inc

1 change: 1 addition & 0 deletions collectors/python.d.plugin/nvidia_smi/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dist_pythonconfig_DATA += nvidia_smi/nvidia_smi.conf

# do not install these files, but include them in the distribution
dist_noinst_DATA += nvidia_smi/README.md nvidia_smi/Makefile.inc

5 changes: 2 additions & 3 deletions collectors/statsd.plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \
Expand All @@ -16,4 +16,3 @@ userstatsdconfigdir=$(configdir)/statsd.d
dist_userstatsdconfig_DATA = \
.keep \
$(NULL)

Loading

0 comments on commit 675383b

Please sign in to comment.