From: Adam Dickmeiss Date: Thu, 22 Apr 2004 18:47:02 +0000 (+0000) Subject: Check for HTMLFILES X-Git-Tag: YAZPROXY.0.8~3 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=95bbaf6c4ee0a2886e1b46cf6b37cee001cc2651;p=yazproxy-moved-to-github.git Check for HTMLFILES --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 4d7c762..baa2bb2 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.6 2004-04-20 23:52:50 adam Exp $ +## $Id: Makefile.am,v 1.7 2004-04-22 18:47:02 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUPPORTFILES = \ @@ -69,3 +69,18 @@ index.tkl: $(XMLFILES) tkl.xsl clean-data-hook: rm -f [0-9]* *.bak +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 +