From 90fb897839bb7006a2f751d283e3d23b3bfec1ea Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Thu, 24 Oct 2019 06:24:14 -0400 Subject: [PATCH] Strip build status from README.md at 'make dist' time. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index c2db5fa..ff12eee 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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