]> arthur.barton.de Git - netdata.git/blobdiff - Makefile.am
.gitignore: add README
[netdata.git] / Makefile.am
index 8e14db9f139270828e6fceb43234f6bd720709e4..6dcdfc1d1983682d64675f05233483b6da12921a 100644 (file)
@@ -19,21 +19,33 @@ MAINTAINERCLEANFILES= \
 EXTRA_DIST = \
        .gitignore \
        autogen.sh \
-       README.md \
+       README \
        LICENSE.md \
        autogen.sh \
        netdata-9999.ebuild \
        tests/stress.sh \
+       system/netdata-openrc \
+       system/netdata-systemd \
        $(NULL)
 
 SUBDIRS = \
        charts.d \
+       node.d \
        conf.d \
        plugins.d \
        src \
        web \
        $(NULL)
 
+if GIT_TREE
+
+all-local: README
+
+README: README.md
+       sed -e '/^## Features$$/p' -e '/^## Git/,/^## Features$$/d' $< > $@
+
+endif
+
 dist_noinst_DATA = netdata.spec
 
 # until integrated within build