-## $Id: Makefile.am,v 1.5 2004-04-15 12:04:01 adam Exp $
+## $Id: Makefile.am,v 1.7 2004-04-22 18:47:02 adam Exp $
docdir=$(datadir)/doc/@PACKAGE@
SUPPORTFILES = \
TOP=yazproxy.xml
MANFILES=yazproxy.8
-HTMLFILES = \
+HTMLFILES = \
installation.html \
introduction.html \
license.html \
using.html \
windows.html \
yazproxy-man.html \
- yazproxy.html
+ yazproxy-schema.html \
+ yazproxy.html
doc_DATA = $(HTMLFILES) yazproxy.pdf id.png yaz.css
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
+