Documentation now based on Docbook XML/XSLT using xsltproc + Norman Walsh's
[yazpp-moved-to-github.git] / doc / Makefile.am
index 1ff6e7b..8a67151 100644 (file)
@@ -1,4 +1,4 @@
-## $Id: Makefile.am,v 1.19 2006-04-24 08:55:28 marc Exp $
+## $Id: Makefile.am,v 1.20 2006-05-26 19:46:37 adam Exp $
 docdir=$(datadir)/doc/@PACKAGE@
 
 SUBDIRS = common
@@ -11,7 +11,7 @@ XMLFILES = \
  license.xml \
  yazpp.xml.in
 
-TOP=yazpp.xml
+TOP = yazpp.xml
 
 MANFILES = yazpp-config.8
 
@@ -20,11 +20,11 @@ REFFILES = yazpp-config-man.xml
 HTMLFILES = \
  api.html \
  implementations.html \
+ index.html \
  installation.html \
  introduction.html \
  license.html \
  windows.html \
- yazpp.html \
  zoom-connection.html \
  zoom-exception.html \
  zoom-query.html \
@@ -32,14 +32,14 @@ HTMLFILES = \
  zoom-resultset.html \
  zoom.html
 
-doc_DATA = $(HTMLFILES) yazpp.pdf 
+doc_DATA = $(HTMLFILES) 
 
 man_MANS = $(MANFILES)
 
-EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS)  $(REFFILES) 
+EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(REFFILES) entities.ent
 
 $(HTMLFILES): $(XMLFILES)
-       jade -E14 -D $(srcdir) -d common/html.dsl -t sgml $(srcdir)/common/xml.dcl $(TOP)
+       xsltproc common/html.xsl $(TOP)
 
 yazpp.pdf: $(XMLFILES)
        if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common/; fi
@@ -51,16 +51,14 @@ yazpp.pdf: $(XMLFILES)
 index.tkl: $(XMLFILES) common/tkl.xsl
        xsltproc common/tkl.xsl $(TOP)
 
-
 yazpp-config.8: yazpp-config-man.xml
-       docbook2man $(srcdir)/yazpp-config-man.xml
-
+       xsltproc common/man.xsl $(srcdir)/yazpp-config-man.xml
 
 clean-data-hook:
        rm -f [0-9]* *.bak
 
 dist-hook:
-       for f in $(srcdir)/*.html; do \
+       for f in *.html; do \
                found=0; \
                b=`basename $$f`; \
                for h in $(HTMLFILES); do \