X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=8d315ae566cd5d80c247ef79800171ee0100f5bb;hp=56952cd25668af605c4613bff49cb32a1721e10a;hb=8785cf4f0724a75a71b76c418a5f83a1192c0955;hpb=cee6212f8e96a436ad490ba91ec2cfb16df3d038 diff --git a/doc/Makefile.am b/doc/Makefile.am index 56952cd..8d315ae 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -8,6 +8,7 @@ XMLFILES = \ administration.xml \ architecture.xml \ field-structure.xml \ + gpl-2.0.xml \ indexdata.xml \ installation.xml \ introduction.xml \ @@ -19,7 +20,7 @@ XMLFILES = \ recordmodel-grs.xml \ manref.xml \ tutorial.xml \ - zebra.xml \ + idzebra.xml \ zebrasrv-options.xml \ zebrasrv-synopsis.xml \ zebrasrv-virtual.xml @@ -31,9 +32,6 @@ XMLFILES = \ HTMLFILES = index.html PNGFILES = zebra.png domfilter.png -EPSFILES = zebra.eps domfilter.eps -PDFFILES = zebra.pdf domfilter.pdf - MANFILES=zebraidx$(PACKAGE_SUFFIX).1 \ zebrasrv$(PACKAGE_SUFFIX).8 \ @@ -61,17 +59,13 @@ idzebra-config$(PACKAGE_SUFFIX).1: idzebra-config.xml $(HTMLFILES): $(XMLFILES) $(PNGFILES) rm -f *.html - $(HTML_COMPILE) $(srcdir)/zebra.xml - -index.tkl: $(XMLFILES) - rm -f *.tkl - $(TKL_COMPILE) $(srcdir)/zebra.xml + $(HTML_COMPILE) $(srcdir)/idzebra.xml -zebra.pdf: $(XMLFILES) domfilter.pdf +idzebra.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)/idzebra.xml manref.xml: $(XMLMAN) $(srcdir)/common/ref2dbinc.xsl rm -f manref.xml @@ -103,7 +97,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: @@ -113,7 +107,10 @@ domfilter.png: domfilter.svg unset DISPLAY; inkscape --export-png=$@ --export-width=600 $? domfilter.eps: domfilter.svg - unset DISPLAY; inkscape --export-eps=$@ --export-bbox-page $? + unset DISPLAY; inkscape --export-eps=$@ $? + +doc-clean: + rm -f manref.xml *.html *.pdf *.[0-9] domfilter.png domfilter.eps .eps.pdf: epstopdf -hires $?