X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=13bbb93c34e85a8fc41f049be61e4890fc64c9d7;hb=8dd5939b82aeaf0e326dead22ea877c203e6d024;hp=bc4ca7ab43ad83d2658976a47d30b06569ef3f7a;hpb=0ef3f55d13097b1cc912c19c3ffb122010462a35;p=pazpar2-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index bc4ca7a..13bbb93 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,4 @@ -## $Id: Makefile.am,v 1.5 2007-06-18 12:55:43 adam Exp $ -## docdir=$(datadir)/doc/@PACKAGE@ - +# This file is part of Pazpar2. SUBDIRS = common SUFFIXES=.1 .5 .7 .8 .pdf .tkl .esp .xml @@ -45,7 +43,7 @@ index.tkl: $(XMLFILES) pazpar2.pdf: $(XMLFILES) rm -f pazpar2.pdf - dblatex $(MAINXML) && mv book.pdf pazpar2.pdf + $(PDF_COMPILE) $(MAINXML) && mv book.pdf pazpar2.pdf jade-check: $(XMLFILES) jade -E14 -D $(srcdir) -d common/print.dsl -t tex $(srcdir)/common/xml.dcl $(MAINXML) @@ -66,12 +64,15 @@ dist-hook: cp $$p $(distdir); \ done +doc-clean: + rm -f *.html *.[0-9] *.pdf *.tkl + 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); \ + $(docDATA_INSTALL) $$p $(DESTDIR)$(docdir); \ done uninstall-hook: - rm -r $(DESTDIR)/$(docdir) + rm -r $(DESTDIR)$(docdir)