Update README.md to include release URL (#131)
Make it clear the user has got a git version that does not include the configure script. Also has the advantage of publishing the location when browsing the repository. Remove the as part of the build, so that someone who gets a source package with ./configure already does not get confused.
Philip Whineray committed
Apr 2, 2016 at 13:26 UTC
025afa16222b34c3cd4595bda35818e6c44c0671
3 files changed
+21
-1
Makefile.am
+10
-1
@@ -19,7 +19,7 @@ MAINTAINERCLEANFILES= \
19
EXTRA_DIST = \
20
.gitignore \
21
autogen.sh \
22
- README.md \
22
+ README \
23
LICENSE.md \
24
autogen.sh \
25
netdata-9999.ebuild \
@@ -37,6 +37,15 @@ SUBDIRS = \
37
web \
38
$(NULL)
39
40
+if GIT_TREE
41
+
42
+all-local: README
43
+
44
+README: README.md
45
+ sed -e '/^## Features$$/p' -e '/^## Git/,/^## Features$$/d' $< > $@
46
+
47
+endif
48
+
49
dist_noinst_DATA = netdata.spec
50
51
# until integrated within build
README.md
+9
@@ -6,6 +6,15 @@
6
7
---
8
9
+## Git sources
10
+
11
+You are looking at a version of the sources extracted directly from git.
12
+If you want a version of the source package where `configure` and any
13
+documentation has been built for you, please get an official
14
+[netdata package download](https://firehol.org/download/netdata/).
15
+The `unsigned/master` folder tracks the head of the git tree and
16
+released packages are also available.
17
+
18
## Features
19
20
**netdata** is a highly optimized Linux daemon providing **real-time performance monitoring for Linux systems, Applications, SNMP devices, over the web**!
configure.ac
+2
@@ -14,6 +14,8 @@ PACKAGE_RPM_RELEASE="0.0.$(echo VERSION_SUFFIX | sed 's/^_//')"
14
15
AC_INIT([netdata], VERSION_NUMBER[]VERSION_SUFFIX)
16
17
+AM_CONDITIONAL([GIT_TREE], [test -f README.md])
18
+
19
AM_MAINTAINER_MODE([disable])
20
if test x"$USE_MAINTAINER_MODE" = xyes; then
21
AC_MSG_NOTICE(***************** MAINTAINER MODE *****************)