12 TOP = $(srcdir)/yazpp.xml
14 MANFILES = yazpp-config.1
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) \
27 $(HTMLFILES): $(XMLFILES)
29 $(HTML_COMPILE) $(TOP)
31 yazpp-config.1: yazpp-config-man.xml
32 $(MAN_COMPILE) $(srcdir)/yazpp-config-man.xml
34 $(MANFILES): local.ent
36 yazpp.pdf: $(XMLFILES)
37 if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common/; fi
44 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
45 for p in $$d/*.html; do \
50 rm -f *.html *.[0-9] *.pdf
53 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
54 for p in $$d/*.html; do \
55 $(INSTALL_DATA) $$p $(DESTDIR)$(docdir); \
59 rm -r $(DESTDIR)$(docdir)