]> arthur.barton.de Git - netdata.git/blobdiff - Makefile.am
.gitignore: add README
[netdata.git] / Makefile.am
index 5f7e7870fdbc98421ed2635bed2b35c5283ebe5b..6dcdfc1d1983682d64675f05233483b6da12921a 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Copyright (C) 2015 Alon Bar-Lev <alon.barlev@gmail.com>
 #
-AUTOMAKE_OPTIONS=foreign dist-bzip2 1.10
+AUTOMAKE_OPTIONS=foreign dist-bzip2 dist-xz 1.10
 ACLOCAL_AMFLAGS = -I m4
 
 MAINTAINERCLEANFILES= \
@@ -16,14 +16,38 @@ MAINTAINERCLEANFILES= \
        $(srcdir)/m4/ltoptions.m4 \
        $(srcdir)/pkcs11-helper.spec $(srcdir)/config-w32-vc.h
 
-EXTRA_DIST = README.md
+EXTRA_DIST = \
+       .gitignore \
+       autogen.sh \
+       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
+# should be proper init.d/openrc/systemd usable
+dist_noinst_SCRIPTS = netdata-installer.sh