# HG changeset patch # User Julien Cristau # Date 1374066148 -7200 # Node ID 959dbad7743e5f9e1a6ee81b81655720d966ec46 # Parent f3286e817f28ee08e8c1f190ed8bdf47cc576934 [debian] remove workaround for broken sphinx/jquery combination sphinx in squeeze was updated: http://packages.qa.debian.org/s/sphinx/news/20130112T154737Z.html diff -r f3286e817f28 -r 959dbad7743e debian/rules --- a/debian/rules Thu Jul 18 22:18:50 2013 +0200 +++ b/debian/rules Wed Jul 17 15:02:28 2013 +0200 @@ -18,11 +18,6 @@ # distributions and we don't want to block a new release of Cubicweb # because of documentation issues. -PYTHONPATH=$${PYTHONPATH:+$${PYTHONPATH}:}$(CURDIR)/debian/pythonpath $(MAKE) -C doc/book/en all - # squeeze has a broken combination of jquery and sphinx, fix it up so search works(ish) - if grep -q jQuery\\.className doc/html/_static/doctools.js && grep -q "jQuery JavaScript Library v1\.4\." doc/html/_static/jquery.js; then \ - echo 'Patching doctools.js for jQuery 1.4 compat'; \ - sed -i 's/jQuery\.className.has(node\.parentNode, className)/jQuery(node.parentNode).hasClass(className)/' doc/html/_static/doctools.js; \ - fi rm -rf debian/pythonpath touch build-stamp