From 1c68c07217fda78a779778c1480fedef7a58d5b4 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sun, 16 Mar 2014 06:11:58 -0700 Subject: [PATCH] Generate ChangeLog from git in make dist Archive the existing ChangeLog to ChangeLog.libffi-3.1 --- ChangeLog => ChangeLog.libffi-3.1 | 6 ++++++ Makefile.am | 4 +++- README | 7 ++++--- 3 files changed, 13 insertions(+), 4 deletions(-) rename ChangeLog => ChangeLog.libffi-3.1 (99%) diff --git a/ChangeLog b/ChangeLog.libffi-3.1 similarity index 99% rename from ChangeLog rename to ChangeLog.libffi-3.1 index 83d8e9895..8f7f50d6f 100644 --- a/ChangeLog +++ b/ChangeLog.libffi-3.1 @@ -1,3 +1,9 @@ +2014-03-16 Josh Triplett + + * ChangeLog: Archive to ChangeLog.libffi-3.1 and delete. Future + changelogs will come from git, with autogenerated snapshots shipped in + distributed tarballs. + 2014-03-16 Josh Triplett Add support for stdcall, thiscall, and fastcall on non-Windows diff --git a/Makefile.am b/Makefile.am index 25e2121c0..c06f37437 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,7 +50,7 @@ EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \ m4/ltversion.m4 src/arm/gentramp.sh src/debug.c msvcc.sh \ generate-darwin-source-and-headers.py \ libffi.xcodeproj/project.pbxproj src/arm/trampoline.S \ - libtool-ldflags + libtool-ldflags ChangeLog.libffi-3.1 info_TEXINFOS = doc/libffi.texi @@ -247,3 +247,5 @@ libffi_la_LDFLAGS = -no-undefined -version-info `grep -v '^\#' $(srcdir)/libtool AM_CPPFLAGS = -I. -I$(top_srcdir)/include -Iinclude -I$(top_srcdir)/src AM_CCASFLAGS = $(AM_CPPFLAGS) +dist-hook: + if [ -d $(top_srcdir)/.git ] ; then git -C $(top_srcdir) log --no-decorate ; else echo 'See git log for history.' ; fi > $(distdir)/ChangeLog diff --git a/README b/README index 488e14f5c..42f17e335 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ Status ====== -libffi-3.0.14 was released on TBD. Check the libffi web +libffi-3.1 was released on TBD. Check the libffi web page for updates: . @@ -170,9 +170,10 @@ To install the library and header files, type "make install". History ======= -See the ChangeLog files for details. +See the git log for details. -3.0.14 TBD +3.1 TBD + Archive off the manually maintained ChangeLog in favor of git log. Add AArch64 (ARM64) iOS support. Add Nios II support. Add m88k and DEC VAX support.