get usermanual.html build to work out of tree

This commit is contained in:
Jean-Francois Dockes 2016-01-07 16:28:09 +01:00
parent 44684fa78d
commit c7c69d9101
2 changed files with 6 additions and 4 deletions

View file

@ -622,7 +622,9 @@ if MAKEUSERDOC
rdocdir = $(pkgdatadir)/doc rdocdir = $(pkgdatadir)/doc
rdoc_DATA = doc/user/usermanual.html doc/user/docbook-xsl.css rdoc_DATA = doc/user/usermanual.html doc/user/docbook-xsl.css
doc/user/usermanual.html: doc/user/usermanual.xml doc/user/usermanual.html: doc/user/usermanual.xml
$(MAKE) -C doc/user mkdir -p doc/user
cp -p $(top_srcdir)/doc/user/Makefile doc/user
$(MAKE) -C doc/user VPATH=../../$(VPATH)/doc/user usermanual.html
endif endif
dist_man1_MANS = doc/man/recoll.1 doc/man/recollq.1 doc/man/recollindex.1 dist_man1_MANS = doc/man/recoll.1 doc/man/recollq.1 doc/man/recollindex.1

View file

@ -23,7 +23,7 @@ all: usermanual.html usermanual.pdf
usermanual.html: usermanual.xml usermanual.html: usermanual.xml
xsltproc ${commonoptions} \ xsltproc ${commonoptions} \
-o tmpfile.html "${XSLDIR}/html/docbook.xsl" usermanual.xml -o tmpfile.html "${XSLDIR}/html/docbook.xsl" $<
-tidy -indent tmpfile.html > usermanual.html -tidy -indent tmpfile.html > usermanual.html
rm -f tmpfile.html rm -f tmpfile.html
@ -31,10 +31,10 @@ index.html: usermanual.xml
xsltproc ${commonoptions} \ xsltproc ${commonoptions} \
--stringparam use.id.as.filename 1 \ --stringparam use.id.as.filename 1 \
--stringparam root.filename index \ --stringparam root.filename index \
"${XSLDIR}/html/chunk.xsl" usermanual.xml "${XSLDIR}/html/chunk.xsl" $<
usermanual.pdf: usermanual.xml usermanual.pdf: usermanual.xml
dblatex usermanual.xml dblatex $<
clean: clean:
rm -f RCL.*.html usermanual.pdf usermanual.html index.html tmpfile.html rm -f RCL.*.html usermanual.pdf usermanual.html index.html tmpfile.html