Revise and expand examples.xml based on experiments with minimal
[idzebra-moved-to-github.git] / doc / Makefile.am
1 ## $Id: Makefile.am,v 1.11 2002-08-30 01:17:10 mike Exp $
2 docdir=$(datadir)/doc/@PACKAGE@
3
4 doc_DATA = zebra.html zebra.pdf
5
6 SUPPORTFILES = \
7  zebrahtml.dsl.in \
8  zebraphp.dsl.in \
9  zebraprint.dsl.in \
10  xml.dcl
11 XMLFILES = \
12  zebra.xml.in \
13  introduction.xml \
14  installation.xml \
15  quickstart.xml \
16  examples.xml \
17  administration.xml \
18  zebraidx.xml \
19  server.xml \
20  recordmodel.xml \
21  license.xml \
22  indexdata.xml
23  
24 EXTRA_DIST = $(SUPPORTFILES) $(XMLFILES) zebra.pdf
25
26 install-data-hook:
27         for f in *.html; do \
28                 $(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f; \
29         done    
30
31 zebra.html: $(XMLFILES)
32         jade -E14 -d zebrahtml.dsl -t sgml xml.dcl zebra.xml
33
34 zebra.php: $(XMLFILES)
35         jade -E14 -d zebraphp.dsl -t sgml xml.dcl zebra.xml
36
37 zebra.pdf: $(XMLFILES)
38         jade -E14 -d zebraprint.dsl -t tex xml.dcl zebra.xml
39         pdfjadetex zebra.tex
40         pdfjadetex zebra.tex
41         pdfjadetex zebra.tex
42
43 gils.txt: gils.sgml
44         sgml2txt -f gils.sgml
45
46 gils.ps: gils.sgml
47         sgml2latex -o ps -p a4 gils.sgml
48
49 gils.html: gils.sgml
50         sgml2html gils.sgml
51
52 dist-hook: zebra.html
53         cp -f $(srcdir)/*.html $(distdir)
54
55 clean-data-hook:
56         rm -f [0-9]* *.bak
57