From bc3b887a6ce09fa318a4318638ddc66f8a996bb6 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 28 Jun 2006 21:55:40 +0000 Subject: [PATCH] Fix dist-hook so that make distcheck works --- doc/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index a6a18f3..71b65cb 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.24 2006-06-10 14:32:19 adam Exp $ +## $Id: Makefile.am,v 1.25 2006-06-28 21:55:40 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUBDIRS = common @@ -95,7 +95,7 @@ clean-data-hook: rm -f [0-9]* *.bak dist-hook: - for f in *.html; do \ + if test -f index.html; then for f in *.html; do \ found=0; \ b=`basename $$f`; \ for h in $(HTMLFILES); do \ @@ -107,4 +107,4 @@ dist-hook: echo "$$f not found in HTMLFILES"; \ exit 1; \ fi \ - done + done; fi -- 1.7.10.4