debian/rules
branchstable
changeset 9174 959dbad7743e
parent 8648 67a5fccb802a
child 9193 eaa58d1c7d5f
equal deleted inserted replaced
9173:f3286e817f28 9174:959dbad7743e
    16 	ln -sf $(CURDIR) debian/pythonpath/cubicweb
    16 	ln -sf $(CURDIR) debian/pythonpath/cubicweb
    17 	# documentation build is now made optional since it can break for old
    17 	# documentation build is now made optional since it can break for old
    18 	# distributions and we don't want to block a new release of Cubicweb
    18 	# distributions and we don't want to block a new release of Cubicweb
    19 	# because of documentation issues.
    19 	# because of documentation issues.
    20 	-PYTHONPATH=$${PYTHONPATH:+$${PYTHONPATH}:}$(CURDIR)/debian/pythonpath $(MAKE) -C doc/book/en all
    20 	-PYTHONPATH=$${PYTHONPATH:+$${PYTHONPATH}:}$(CURDIR)/debian/pythonpath $(MAKE) -C doc/book/en all
    21 	# squeeze has a broken combination of jquery and sphinx, fix it up so search works(ish)
       
    22 	if grep -q jQuery\\.className doc/html/_static/doctools.js && grep -q "jQuery JavaScript Library v1\.4\." doc/html/_static/jquery.js; then \
       
    23 	    echo 'Patching doctools.js for jQuery 1.4 compat'; \
       
    24 	    sed -i 's/jQuery\.className.has(node\.parentNode, className)/jQuery(node.parentNode).hasClass(className)/' doc/html/_static/doctools.js; \
       
    25 	fi
       
    26 	rm -rf debian/pythonpath
    21 	rm -rf debian/pythonpath
    27 	touch build-stamp
    22 	touch build-stamp
    28 
    23 
    29 clean:
    24 clean:
    30 	dh_testdir
    25 	dh_testdir