From: Adam Dickmeiss Date: Wed, 28 Jun 2006 21:43:45 +0000 (+0000) Subject: Fix dist-hook so that make distcheck works X-Git-Tag: YAZPP.1.0.2~23 X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=commitdiff_plain;h=3ebdac624f7c6cdef6894cd6a42deb34a4c51bc9 Fix dist-hook so that make distcheck works --- 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