]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Dist most recent release notes instead of 3.0 notes
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 16 Aug 2009 01:01:10 +0000 (13:01 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 16 Aug 2009 01:01:10 +0000 (13:01 +1200)
Makefile.am

index 1a2a161c610d593242bd9961c8b0a58e939dd57e..f6ba0b5eea09c5121240b95f1015cd4a2c72d5b2 100644 (file)
@@ -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 = \