From 9a7e8960b79b0b9bd6df38258ecda51f42d41280 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 28 Jun 2006 21:45:49 +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 1d11d28..07202d1 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.12 2006-06-02 08:53:23 adam Exp $ +## $Id: Makefile.am,v 1.13 2006-06-28 21:45:49 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUBDIRS = common @@ -66,7 +66,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 \ @@ -78,5 +78,5 @@ dist-hook: echo "$$h not found in HTMLFILES"; \ exit 1; \ fi \ - done + done; fi -- 1.7.10.4