From: Amos Jeffries Date: Sun, 16 Aug 2009 01:01:10 +0000 (+1200) Subject: Dist most recent release notes instead of 3.0 notes X-Git-Tag: SQUID_3_2_0_1~788 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8328114d4830772f190c018bfcfa12e1ab40a6aa;p=thirdparty%2Fsquid.git Dist most recent release notes instead of 3.0 notes --- diff --git a/Makefile.am b/Makefile.am index 1a2a161c61..f6ba0b5eea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,7 +22,12 @@ dist-hook: @if [ -f $(top_srcdir)/RELEASENOTES.html ]; then \ cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \ else \ - cp $(top_srcdir)/doc/release-notes/release-3.0.html $(distdir)/RELEASENOTES.html; \ + notes=`ls -1rt $(top_srcdir)/doc/release-notes/*.html | head -1`; \ + @if [ -f $(notes) ]; then \ + cp $(notes) $(distdir)/RELEASENOTES.html; \ + else \ + touch $(distdir)/RELEASENOTES.html; \ + fi; \ fi EXTRA_DIST = \