-## $Id: Makefile.am,v 1.4 2000-02-29 13:52:36 adam Exp $
+## $Id: Makefile.am,v 1.10 2001-02-21 23:16:49 adam Exp $
docdir=$(pkgdatadir)/doc
-doc_DATA = \
- yaz.sgml yaz.txt yaz.ps profiles.txt profiles.ps yaz.html \
+doc_DATA = yaz.sgml profiles.sgml \
+ yaz.txt yaz.ps profiles.txt profiles.ps yaz.html \
yaz-1.html yaz-2.html yaz-3.html yaz-4.html yaz-5.html \
yaz-6.html yaz-7.html yaz-8.html yaz-9.html
-EXTRA_DIST = \
- yaz.sgml yaz.txt yaz.ps profiles.txt profiles.ps yaz.html \
+EXTRA_DIST = yaz.sgml profiles.sgml \
+ yaz.txt yaz.ps profiles.txt profiles.ps yaz.html \
yaz-1.html yaz-2.html yaz-3.html yaz-4.html yaz-5.html \
yaz-6.html yaz-7.html yaz-8.html yaz-9.html
sgml2txt -f yaz.sgml
yaz.ps: yaz.sgml
- sgml2latex -o ps yaz.sgml
+ sgml2latex -p a4 -o ps yaz.sgml
profiles.txt: profiles.sgml
sgml2txt -f profiles.sgml
profiles.ps: profiles.sgml
- sgml2latex -o ps profiles.sgml
+ sgml2latex -p a4 -o ps profiles.sgml
yaz.html: yaz.sgml
sgml2html yaz.sgml
+
+XMLFILES=yaz.xml introduction.xml installation.xml indexdata.xml \
+ asn.xml tools.xml odr.xml comstack.xml frontend.xml license.xml future.xml
+
+book1.html: $(XMLFILES) yazhtml.dsl
+ jade -E14 -d yazhtml.dsl -t sgml xml.dcl yaz.xml
+
+yaz.tex: $(XMLFILES) yazprint.dsl
+ jade -d yazprint.dsl -t tex xml.dcl yaz.xml