doc: remove prefix entity - not in use
[yazpp-moved-to-github.git] / doc / Makefile.am
index c46d3ce..722bc92 100644 (file)
@@ -6,11 +6,12 @@ XMLFILES = \
  zoom.xml \
  api.xml \
  license.xml \
- yazpp.xml
+ yazpp.xml \
+ local.ent
 
 TOP = $(srcdir)/yazpp.xml
 
-MANFILES = yazpp-config.8
+MANFILES = yazpp-config.1
 
 REFFILES = yazpp-config-man.xml
 
@@ -21,18 +22,17 @@ doc_DATA = $(HTMLFILES)
 man_MANS = $(MANFILES)
 
 EXTRA_DIST = $(XMLFILES) $(doc_DATA) $(man_MANS) $(REFFILES) \
-       entities.ent local.ent.in
+       entities.ent
 
 $(HTMLFILES): $(XMLFILES)
        rm -f *.html
        $(HTML_COMPILE) $(TOP)
 
-index.tkl: $(XMLFILES)
-       $(TKL_COMPILE) $(TOP)
-
-yazpp-config.8: yazpp-config-man.xml
+yazpp-config.1: yazpp-config-man.xml
        $(MAN_COMPILE) $(srcdir)/yazpp-config-man.xml
 
+$(MANFILES): local.ent
+
 yazpp.pdf: $(XMLFILES)
        if test ! -f common/id.png ; then cp $(srcdir)/common/id.png common/; fi
        $(PDF_COMPILE) $(TOP)
@@ -46,10 +46,13 @@ dist-hook:
                cp $$p $(distdir); \
        done
 
+doc-clean:
+       rm -f *.html *.[0-9] *.pdf
+
 install-data-hook:
        if test -f index.html; then d=.; else d="$(srcdir)"; fi; \
        for p in $$d/*.html; do \
-               $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \
+               $(INSTALL_DATA) $$p $(DESTDIR)$(docdir); \
        done
 
 uninstall-hook: