Make readme substitution more robust
Philip Whineray committed
Apr 9, 2016 at 09:14 UTC
ae0c07c68e75f661d53f5129916abf87d84bb23c
1 file changed
+1
-1
Makefile.am
+1
-1
@@ -42,7 +42,7 @@ if GIT_TREE
42
all-local: README
43
44
README: README.md
45
- sed -e '/^## Features$$/p' -e '/^## Git/,/^## Features$$/d' $< > $@
45
+ sed -e '/^## Git/,/^$$/{d;p}' $< > $@
46
47
endif
48