tags 641710 + confirmed
thanks
* Raphaël Hertzog <hert...@debian.org>, 2011-09-15, 12:30:
Since the python-django-doc package is quite big, we wanted to save
some spaces by dropping the _sources directory. I noticed that
dh_sphinxdoc analyzed the HAS_SOURCE setting in search.html to adjust
its behaviour
If you build with html_copy_source=1 and then manually remove sources,
the search function will be broken. That's why dh_sphinxdoc doesn't
allow that.
so instead of directly removing the _sources directory I modified
conf.py to disable its generation (html_copy_source = False).
Despite this, dh_sphinxdoc fails with:
dh_sphinxdoc:
debian/python-django-doc/usr/share/doc/python-django-doc/html/_sources/releases/1.0.txt
is missing
Looking at the code, you extract the value (true or false) but
afterwards you only use it in a form “if $has_source”... you should
really replace this with “if $has_source eq "true"”.
Thanks for your analysis. I'll try to fix the package as soon as
possible, but if you are in hurry, you can pass -X.txt to
dh_sphinxdoc as a work-around.
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org