From 4b09ea6e4f76eeeb6e5de0af0f9c106edfe1d249 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 3 Jun 2022 16:18:08 +0200 Subject: [PATCH] docs: don't download DTDs when building docs Fixes: | xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo grml-crypt.8.txt |sed -e 's/.txt/.xml/'` | error : Resource temporarily unavailable | grml-crypt.8.xml:2: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" | D DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" | ^ | Note: Writing grml-crypt.8 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c111943..e3c1bf6 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ man8 = $(usr)/share/man/man8/ %.gz : %.txt ; asciidoc -d manpage -b docbook $^ sed -i 's///g' `echo $^ |sed -e 's/.txt/.xml/'` - xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` + xsltproc --novalid /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl `echo $^ |sed -e 's/.txt/.xml/'` gzip -f --best `echo $^ |sed -e 's/.txt//'` -- 2.1.4