1 ## $Id: Makefile.am,v 1.28 2007-07-10 09:42:28 adam Exp $
12 TOP = $(srcdir)/yazpp.xml
14 MANFILES = yazpp-config.8
16 REFFILES = yazpp-config-man.xml
18 HTMLFILES = index.html
20 doc_DATA = $(HTMLFILES)
22 man_MANS = $(MANFILES)
24 EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(REFFILES) \
25 entities.ent local.ent.in
27 $(HTMLFILES): $(XMLFILES)
29 $(HTML_COMPILE) $(TOP)
31 index.tkl: $(XMLFILES)
34 yazpp-config.8: yazpp-config-man.xml
35 $(MAN_COMPILE) $(srcdir)/yazpp-config-man.xml
37 yazpp.pdf: $(XMLFILES)
38 if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common/; fi
39 jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(TOP)
40 pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
41 pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
42 pdfjadetex yazpp.tex >pdfjadetex.log 2>&1
49 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
50 for p in $$d/*.html; do \
55 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
56 for p in $$d/*.html; do \
57 $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \
61 rm -r $(DESTDIR)$(docdir)