Bump copyright year
[idzebra-moved-to-github.git] / doc / Makefile.am
index 56952cd..e99af4d 100644 (file)
@@ -8,6 +8,7 @@ XMLFILES =  \
    administration.xml \
    architecture.xml \
    field-structure.xml \
+   gpl-2.0.xml \
    indexdata.xml \
    installation.xml \
    introduction.xml \
@@ -71,7 +72,7 @@ zebra.pdf: $(XMLFILES) domfilter.pdf
        for i in $(PNGFILES); do \
                if test ! -f $$i; then cp $(srcdir)/$$i .; fi; \
        done
-       dblatex $(srcdir)/zebra.xml
+       $(PDF_COMPILE) $(srcdir)/zebra.xml
 
 manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl
        rm -f manref.xml
@@ -103,7 +104,7 @@ install-data-hook:
        cd $(DESTDIR)$(man1dir) && ln -sf idzebra-config$(PACKAGE_SUFFIX).1 idzebra-config.1
        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:
@@ -115,6 +116,9 @@ domfilter.png: domfilter.svg
 domfilter.eps: domfilter.svg
        unset DISPLAY; inkscape --export-eps=$@ --export-bbox-page $?
 
+doc-clean:
+       rm -f manref.xml *.html *.pdf *.[0-9] domfilter.png domfilter.eps
+
 .eps.pdf:
        epstopdf -hires $?