Better check for SSL on non pkg-config systems
[yaz-moved-to-github.git] / doc / Makefile.am
index c5980b3..2d20be5 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.51 2003-11-18 20:34:34 adam Exp $
+## $Id: Makefile.am,v 1.54 2004-04-28 22:44:59 adam Exp $
 
 docdir=$(datadir)/doc/@PACKAGE@
 
@@ -19,12 +19,12 @@ HTMLFILES = \
  odr.programming.html odr.use.html server.backendfunctions.html \
  server.backend.html server.frontend.html server.html server.invocation.html \
  server.main.html soap.html soap.http.html soap.xml.html soap.srw.html \
- tools.html tools.nmem.html tools.oid.html yaz.html \
+ tools.html tools.marc.html tools.nmem.html tools.oid.html yaz.html \
  zoom.events.html zoom.html zoom.options.html zoom.query.html \
  zoom.records.html zoom.resultsets.html zoom.scan.html
 
-MANFILES=yaz-client.1 yaz-client-ssl.1 yaz-ztest.8 \
-       yaz-ztest-ssl.8 yaz-config.8 yaz.7 zoomsh.1 yaz-asncomp.1 \
+MANFILES=yaz-client.1 yaz-ztest.8 \
+       yaz-config.8 yaz.7 zoomsh.1 yaz-asncomp.1 \
        yaz-marcdump.1 yaz-iconv.1
 REFFILES=yaz-client-man.xml yaz-ztest-man.xml yaz-config-man.xml \
        yaz-man.xml zoomsh-man.xml yaz-asncomp-man.xml \
@@ -54,12 +54,6 @@ yaz.7: yaz-man.xml
 zoomsh.1: zoomsh-man.xml
        docbook2man $(srcdir)/zoomsh-man.xml
 
-yaz-ztest-ssl.8: 
-       ln -s yaz-ztest.8 yaz-ztest-ssl.8
-
-yaz-client-ssl.1:
-       ln -s yaz-client.1 yaz-client-ssl.1
-
 yaz-asncomp.1: yaz-asncomp-man.xml
        docbook2man $(srcdir)/yaz-asncomp-man.xml
 
@@ -90,3 +84,19 @@ apilayer.png:
        tgif -print -xbm apilayer.obj
        xbmtopbm <apilayer.xbm|pnmtopng >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
+
+