From 3ebdac624f7c6cdef6894cd6a42deb34a4c51bc9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 28 Jun 2006 21:43:45 +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 4998205..4702c5f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.21 2006-06-02 08:43:12 adam Exp $ +## $Id: Makefile.am,v 1.22 2006-06-28 21:43:45 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUBDIRS = common @@ -60,7 +60,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 \ @@ -72,5 +72,5 @@ dist-hook: echo "$$h not found in HTMLFILES"; \ exit 1; \ fi \ - done + done; fi -- 1.7.10.4