From 2831993e196fbc5e0091218e358d922d28d5b6eb Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Thu, 23 Jun 2022 17:26:40 +0200 Subject: [PATCH] Doc build: dont try to update recoll.conf.xml if the confxml program is not around --- src/doc/user/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/user/Makefile b/src/doc/user/Makefile index 0956cf2a..7f41e06a 100644 --- a/src/doc/user/Makefile +++ b/src/doc/user/Makefile @@ -13,6 +13,7 @@ #XSLDIR="/opt/local/share/xsl/docbook-xsl/" #Linux XSLDIR="/usr/share/xml/docbook/stylesheet/docbook-xsl/" +UTILBUILDS=/home/dockes/tmp/builds/medocutils/ # Options common to the single-file and chunked versions @@ -48,11 +49,10 @@ index.html: usermanual.xml recoll.conf.xml usermanual.pdf: usermanual.xml recoll.conf.xml dblatex --xslt-opts="--xinclude" -tpdf $< -UTILBUILDS=/home/dockes/tmp/builds/medocutils/ recoll.conf.xml: ../../sampleconf/recoll.conf - $(UTILBUILDS)/confxml --docbook \ + test -x $(UTILBUILDS)/confxml && $(UTILBUILDS)/confxml --docbook \ --idprefix=RCL.INSTALL.CONFIG.RECOLLCONF \ - ../../sampleconf/recoll.conf > recoll.conf.xml + ../../sampleconf/recoll.conf > recoll.conf.xml || touch recoll.conf.xml # Generating a restructured text version, for uploading to readthedocs. # Does not really work, the internal links are botched. pandoc