11 TOP = $(srcdir)/yazpp.xml
13 MANFILES = yazpp-config.1
15 REFFILES = yazpp-config-man.xml
17 HTMLFILES = index.html
19 doc_DATA = $(HTMLFILES)
21 man_MANS = $(MANFILES)
23 EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(REFFILES) \
24 entities.ent local.ent.in
26 $(HTMLFILES): $(XMLFILES)
28 $(HTML_COMPILE) $(TOP)
30 index.tkl: $(XMLFILES)
33 yazpp-config.1: yazpp-config-man.xml
34 $(MAN_COMPILE) $(srcdir)/yazpp-config-man.xml
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)