From: Adam Dickmeiss Date: Wed, 28 Jun 2006 21:45:49 +0000 (+0000) Subject: Fix dist-hook so that make distcheck works X-Git-Tag: YAZPROXY.1.3.0~25 X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=commitdiff_plain;h=9a7e8960b79b0b9bd6df38258ecda51f42d41280 Fix dist-hook so that make distcheck works --- 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