From: Adam Dickmeiss Date: Thu, 22 Apr 2004 18:44:33 +0000 (+0000) Subject: Check for HTMLFILES X-Git-Tag: YAZPP.0.8~2 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a79567252cfae50a879904bd6e82c84ee63c6b70;p=yazpp-moved-to-github.git Check for HTMLFILES --- diff --git a/doc/Makefile.am b/doc/Makefile.am index 272c329..89126d7 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.14 2004-04-11 12:13:32 adam Exp $ +## $Id: Makefile.am,v 1.15 2004-04-22 18:44:33 adam Exp $ docdir=$(datadir)/doc/@PACKAGE@ SUPPORTFILES = \ @@ -57,3 +57,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 +