X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2FMakefile.am;h=7c8f0f5f5bcf1a65e7507131c3a0496a50893d08;hb=2f94ec623064345cdf381a265b43bd754c0a18b8;hp=055a99adebe30833bdb553bfdab1b219c25d5b4e;hpb=9fdb1208081d15ac6a9e13c70561977fd0e0d6cc;p=pazpar2-moved-to-github.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 055a99a..7c8f0f5 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,11 +1,9 @@ -## $Id: Makefile.am,v 1.6 2007-07-10 09:40:06 adam Exp $ -## docdir=$(datadir)/doc/@PACKAGE@ - +# This file is part of Pazpar2. SUBDIRS = common -SUFFIXES=.1 .5 .7 .8 .pdf .tkl .esp .xml +SUFFIXES=.1 .5 .7 .8 .pdf .esp .xml -XMLFILES = book.xml manref.xml +XMLFILES = book.xml manref.xml gpl-2.0.xml MAINXML = $(srcdir)/book.xml @@ -40,12 +38,9 @@ $(HTMLFILES): $(XMLFILES) $(PNGFILES) .xml.8: $(MAN_COMPILE) $< -index.tkl: $(XMLFILES) - $(TKL_COMPILE) $(MAINXML) - 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 +61,15 @@ dist-hook: cp $$p $(distdir); \ done +doc-clean: + rm -f manref.xml *.html *.[0-9] *.pdf + 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); \ + $(INSTALL_DATA) $$p $(DESTDIR)$(docdir); \ done uninstall-hook: - rm -r $(DESTDIR)/$(docdir) + rm -r $(DESTDIR)$(docdir)