From 5dc5d1f53dc0039e49b9e74de35eb220c905b27a Mon Sep 17 00:00:00 2001 From: hno <> Date: Mon, 30 Sep 2002 03:41:18 +0000 Subject: [PATCH] make distcheck workaround for RELEASENOTES.html --- Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index dce2421078..d94abfd7e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in # -# $Id: Makefile.am,v 1.14 2002/09/29 12:55:52 hno Exp $ +# $Id: Makefile.am,v 1.15 2002/09/29 21:41:18 hno Exp $ # AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 @@ -21,7 +21,11 @@ dist-hook: rm -f $(distdir)/$$subdir/autoconf.h; \ fi; \ done - cp $(top_srcdir)/doc/release-notes/release-2.5.html $(distdir)/RELEASENOTES.html + @if [ -f $(top_srcdir)/RELEASENOTES.html ]; then \ + cp -p $(top_srcdir)/RELEASENOTES.html $(distdir)/RELEASENOTES.html; \ + else \ + cp $(top_srcdir)/doc/release-notes/release-2.5.html $(distdir)/RELEASENOTES.html; \ + fi EXTRA_DIST = \ ChangeLog \ -- 2.47.2