summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2019-10-24 06:24:14 -0400
committerAnthony Green <green@moxielogic.com>2019-10-24 06:24:14 -0400
commit90fb897839bb7006a2f751d283e3d23b3bfec1ea (patch)
tree9991a51bfe21d05d06c02604dae80b5c24e2b10e /Makefile.am
parent1d6059446fb986d2de933f7ccf6fe38bcdf0c76c (diff)
downloadlibffi-90fb897839bb7006a2f751d283e3d23b3bfec1ea.tar.gz
Strip build status from README.md at 'make dist' time.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
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