From: Adam Dickmeiss Date: Wed, 28 Jun 2006 21:41:54 +0000 (+0000) Subject: Fix dist-hook so that make distcheck works X-Git-Tag: YAZ.2.1.26~54 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=7cf511b16827d66df48d91c74cf8cb308e3b10a8;p=yaz-moved-to-github.git Fix dist-hook so that make distcheck works --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 993a411..79dca12 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.70 2006-05-28 19:56:24 adam Exp $ +## $Id: Makefile.am,v 1.71 2006-06-28 21:41:54 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ @@ -89,7 +89,7 @@ apilayer.png: xbmtopbm apilayer.png 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 \ @@ -101,6 +101,6 @@ dist-hook: echo "$$b not found in HTMLFILES"; \ exit 1; \ fi \ - done + done; fi