Strip build status from README.md at 'make dist' time.
authorAnthony Green <green@moxielogic.com>
Thu, 24 Oct 2019 10:24:14 +0000 (06:24 -0400)
committerAnthony Green <green@moxielogic.com>
Thu, 24 Oct 2019 10:24:14 +0000 (06:24 -0400)
Makefile.am

index c2db5fade11bade61d3f1895bc3cbb032f1cbb73..ff12eeef32673f13f3bcdcc11139d038998ebe43 100644 (file)
@@ -155,3 +155,4 @@ AM_CCASFLAGS = $(AM_CPPFLAGS)
 
 dist-hook:
        if [ -d $(top_srcdir)/.git ] ; then (cd $(top_srcdir); git log --no-decorate) ; else echo 'See git log for history.' ; fi > $(distdir)/ChangeLog
+       s=`awk '/was released on/{ print NR; exit}' $(top_srcdir)/README.md`; tail -n +$$(($$s-1)) $(top_srcdir)/README.md > $(distdir)/README.md