From: Adam Dickmeiss Date: Wed, 28 Jun 2006 21:55:40 +0000 (+0000) Subject: Fix dist-hook so that make distcheck works X-Git-Tag: METAPROXY.1.0.6~7 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=bc3b887a6ce09fa318a4318638ddc66f8a996bb6;p=metaproxy-moved-to-github.git Fix dist-hook so that make distcheck works --- 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