]> arthur.barton.de Git - netdata.git/blobdiff - Makefile.am
Update README.md to include release URL (#131)
[netdata.git] / Makefile.am
index 72f0502cd5e097551717c5bb8dc4a9ffb3f77b30..6dcdfc1d1983682d64675f05233483b6da12921a 100644 (file)
@@ -19,7 +19,7 @@ MAINTAINERCLEANFILES= \
 EXTRA_DIST = \
        .gitignore \
        autogen.sh \
-       README.md \
+       README \
        LICENSE.md \
        autogen.sh \
        netdata-9999.ebuild \
@@ -37,6 +37,15 @@ SUBDIRS = \
        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