[libvirt] [PATCH 1/2] docs: news: remove sed sorcery
Peter Krempa
pkrempa at redhat.com
Wed Jul 17 15:02:02 UTC 2019
On Wed, Jul 17, 2019 at 16:37:06 +0200, Ján Tomko wrote:
> Set a default namespace in the stylesheet instead.
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> docs/Makefile.am | 8 +-------
> docs/news-html.xsl | 4 +++-
> 2 files changed, 4 insertions(+), 8 deletions(-)
Fails in vpath build:
/usr/bin/xsltproc --nonet \
/home/pipo/libvirt/docs/news-html.xsl \
/home/pipo/libvirt/docs/news.xml \
>news.html.in-tmp \
|| { rm -f news.html.in-tmp; exit 1; };
name=`echo news.html.tmp | sed -e 's/.tmp//'`; \
dir=`dirname news.html.tmp` ; \
if test "$dir" = "."; \
then \
style=site.xsl; \
else \
/usr/bin/mkdir -p $dir; \
style=subsite.xsl; \
fi; \
/usr/bin/xsltproc --stringparam pagename $name \
--stringparam timestamp "Wed Jul 17 15:00:08 UTC 2019" --nonet \
/home/pipo/libvirt/docs/$style news.html.in > news.html.tmp \
|| { rm news.html.tmp && exit 1; }
warning: failed to load external entity "news.html.in"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190717/22f9566a/attachment-0001.sig>
More information about the libvir-list
mailing list