Bump copyright year
[idzebra-moved-to-github.git] / doc / Makefile.am
index 8d35e79..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 \
@@ -18,6 +19,7 @@ XMLFILES =  \
    recordmodel-alvisxslt.xml \
    recordmodel-grs.xml \
    manref.xml \
+   tutorial.xml \
    zebra.xml \
    zebrasrv-options.xml \
    zebrasrv-synopsis.xml \
@@ -70,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
@@ -102,17 +104,20 @@ 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:
        rm -r $(DESTDIR)$(docdir)
 
 domfilter.png: domfilter.svg
-       inkscape --export-png=$@ --export-width=600 $?
+       unset DISPLAY; inkscape --export-png=$@ --export-width=600 $?
 
 domfilter.eps: domfilter.svg
-       inkscape --export-eps=$@ --export-bbox-page $?
+       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 $?