From: Adam Dickmeiss Date: Thu, 22 Apr 2004 18:44:40 +0000 (+0000) Subject: Check for HTMLFILES X-Git-Tag: YAZ.2.0.20~30 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=1b59302c8003251955f2850039f463dd63c6dff3;p=yaz-moved-to-github.git Check for HTMLFILES --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 589e348..80b49dc 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.52 2004-04-22 13:12:49 adam Exp $ +## $Id: Makefile.am,v 1.53 2004-04-22 18:44:40 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ @@ -90,3 +90,19 @@ apilayer.png: tgif -print -xbm apilayer.obj xbmtopbm apilayer.png +dist-hook: + for f in $(srcdir)/*.html; do \ + found=0; \ + b=`basename $$f`; \ + for h in $(HTMLFILES); do \ + if test "$$h" = "$$b"; then \ + found=1; \ + fi \ + done; \ + if test "$$found" = "0"; then \ + echo "$$h not found in HTMLFILES"; \ + exit 1; \ + fi \ + done + +