X-Git-Url: https://arthur.barton.de/gitweb/?p=netdata.git;a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=6dcdfc1d1983682d64675f05233483b6da12921a;hp=72f0502cd5e097551717c5bb8dc4a9ffb3f77b30;hb=025afa16222b34c3cd4595bda35818e6c44c0671;hpb=8080db07ce0144496523b33249bd8c2dbd1ce5e6 diff --git a/Makefile.am b/Makefile.am index 72f0502c..6dcdfc1d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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