11 TOP = $(srcdir)/yazpp.xml
13 MANFILES = yazpp-config.8
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.8: 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 *.tkl
53 if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
54 for p in $$d/*.html; do \
55 $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \
59 rm -r $(DESTDIR)$(docdir)