Added XML Docbook documentation for YAZ - will eventually replace
[yaz-moved-to-github.git] / doc / Makefile.in
index c65d6c9..2363284 100644 (file)
@@ -67,6 +67,7 @@ DLLTOOL = @DLLTOOL@
 ILLLIB = @ILLLIB@
 ILLMODULE = @ILLMODULE@
 LD = @LD@
+LIBTHREAD = @LIBTHREAD@
 LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 MAKEINFO = @MAKEINFO@
@@ -74,8 +75,10 @@ NM = @NM@
 OBJDUMP = @OBJDUMP@
 PACKAGE = @PACKAGE@
 RANLIB = @RANLIB@
+READLINE_LIBS = @READLINE_LIBS@
 SUBDIRS_VAR = @SUBDIRS_VAR@
 VERSION = @VERSION@
+YAZ_SRC_ROOT = @YAZ_SRC_ROOT@
 
 docdir = $(pkgdatadir)/doc
 
@@ -84,6 +87,9 @@ doc_DATA = yaz.sgml profiles.sgml  yaz.txt yaz.ps profiles.txt profiles.ps yaz.h
 
 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
 
+
+XMLFILES = yaz.xml introduction.xml installation.xml indexdata.xml   asn.xml tools.xml odr.xml comstack.xml frontend.xml license.xml future.xml
+
 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
 CONFIG_CLEAN_FILES = 
 DATA =  $(doc_DATA)
@@ -214,17 +220,23 @@ yaz.txt: yaz.sgml
        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
 
+book1.htm: $(XMLFILES)
+       jade -E14 -d ../../docbook/docbook/html/docbook.dsl -t sgml xml.dcl yaz.xml
+
+yaz.tex: $(XMLFILES)
+       jade -d ../../docbook/docbook/print/docbook.dsl -t tex xml.dcl yaz.xml
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT: