[Letsencrypt-devel] Bug#805262: python-letsencrypt-doc: documentation contains command not found errors
Vagrant Cascadian
vagrant at debian.org
Mon Nov 16 06:10:30 UTC 2015
Package: python-letsencrypt-doc
Version: 0.0.0.dev20151114-2
Severity: normal
Tags: patch
Thanks for maintaining letsencrypt!
The documentation man/letsencrypt.html and man/letsencrypt-renewer.html
both contain errors, due to PATH to letsencrypt/letsencrypt-renewer not
being available when generating the documentation:
<div class="highlight-text"><div class="highlight"><pre>bash: letsencrypt : commande introuvable
The following patch fixes this by setting the path to use the recently
generated letsencrypt/letsencrypt-renewer binaries when generating the
documentation, much like when generating the manpages.
diff --git a/debian/rules b/debian/rules
index c042e50..c969e49 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,16 +7,15 @@ export PYBUILD_NAME = letsencrypt
%:
dh $@ --with python2,sphinxdoc --buildsystem=pybuild
-override_dh_auto_build:
- dh_auto_build
- PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
-
override_dh_auto_install:
dh_auto_install
find $(CURDIR)/debian -type d -name tests -print0 | xargs -0 rm -rf
mkdir -p debian/letsencrypt/usr/bin
mv debian/python-letsencrypt/usr/bin/* debian/letsencrypt/usr/bin
rm -rf debian/python-letsencrypt/usr/bin
+ PYTHONPATH=. PATH=../debian/letsencrypt/usr/bin:${PATH} \
+ http_proxy='127.0.0.1:9' \
+ sphinx-build -N -bhtml docs/ build/html
PATH=../debian/letsencrypt/usr/bin:${PATH} \
http_proxy='127.0.0.1:9' \
sphinx-build -N -bman docs/ build/man
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/letsencrypt-devel/attachments/20151116/2d3941c2/attachment-0001.sig>
More information about the Letsencrypt-devel
mailing list