Documentation rebuilt if local.ent changes
[yazpp-moved-to-github.git] / doc / Makefile.am
index 1cfba45..722bc92 100644 (file)
@@ -6,7 +6,8 @@ XMLFILES = \
  zoom.xml \
  api.xml \
  license.xml \
- yazpp.xml
+ yazpp.xml \
+ local.ent
 
 TOP = $(srcdir)/yazpp.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.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)