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

Attachment: signature.asc
Description: PGP signature

Reply via email to