corrected bug in disthook rule which always wrote "zebraidx.html not found in HTMLFI...
[idzebra-moved-to-github.git] / doc / Makefile.am
index 10799df..2dc1c1e 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.25 2004-09-28 20:38:25 adam Exp $
+## $Id: Makefile.am,v 1.29 2006-01-17 21:26:43 marc Exp $
 docdir=$(datadir)/doc/@PACKAGE@
 
 SUPPORTFILES = \
@@ -7,6 +7,7 @@ SUPPORTFILES = \
  zebraprint.dsl \
  tkl.xsl \
  xml.dcl
+
 XMLFILES = \
  zebra.xml.in \
  introduction.xml \
@@ -20,13 +21,17 @@ XMLFILES = \
  license.xml \
  indexdata.xml \
  zebraidx-options.xml \
- zebraidx-commands.xml
+ zebraidx-commands.xml \
+ zebrasrv-options.xml \
+ zebrasrv-synopsis.xml \
+ zebrasrv-virtual.xml
 
 HTMLFILES =  \
  administration.html apps.html configuration-file.html data-model.html \
  example1.html example2.html examples.html features.html file-ids.html \
- formats.html future.html generic-ids.html indexdata.html installation.html \
- installation.win32.html internal-representation.html introduction.html \
+ formats.html future.html generic-ids.html indexdata.html \
+ installation.html installation.debian.html installation.win32.html \
+ internal-representation.html introduction.html \
  license.html locating-records.html protocol-support.html quick-start.html \
  record-model.html register-location.html server.html shadow-registers.html \
  simple-indexing.html support.html zebra.html zebraidx.html 
@@ -50,7 +55,9 @@ zebraidx.1: zebraidx-man.sgml zebraidx-options.xml zebraidx-commands.xml
        if test ! -f zebraidx-commands.xml ; then ln -s $(srcdir)/zebraidx-commands.xml .; fi
        docbook2man $(srcdir)/zebraidx-man.sgml
 
-zebrasrv.8: zebrasrv-man.sgml
+# zebrasrv-commands.xml
+zebrasrv.8: zebrasrv-man.sgml  zebrasrv-options.xml \
+            zebrasrv-synopsis.xml zebrasrv-virtual.xml
        docbook2man $(srcdir)/zebrasrv-man.sgml
 
 idzebra-config.1: idzebra-config-man.sgml
@@ -67,9 +74,9 @@ zebra.pdf: $(XMLFILES)
                if test ! -f $$i; then ln -s $(srcdir)/$$i .; fi; \
        done
        jade -E14 -D $(srcdir) -d zebraprint.dsl -t tex $(srcdir)/xml.dcl zebra.xml
-       pdfjadetex zebra.tex
-       pdfjadetex zebra.tex
-       pdfjadetex zebra.tex
+       pdfjadetex zebra.tex >/dev/null
+       pdfjadetex zebra.tex >/dev/null
+       pdfjadetex zebra.tex >/dev/null
 
 index.tkl: $(XMLFILES) tkl.xsl
        xsltproc tkl.xsl zebra.xml
@@ -96,9 +103,7 @@ dist-hook:
                        fi \
                done; \
                if test "$$found" = "0"; then \
-                       echo "$$h not found in HTMLFILES"; \
+                       echo "$$f not found in HTMLFILES"; \
                        exit 1; \
                fi \
        done
-
-