# HG changeset patch # User Julien Jehannet # Date 1315388261 -7200 # Node ID 07c74f5585d1b09c9de705debcfbada3d4fa8f89 # Parent a832677c0aa69a6d139f80b8651336deb20c4003 [debian] build the book with no auto-compression of book files (closes: #1906581) Book content paths (html and rest) are now excluded from Debian compression step. This will fix a documentation search issue on the website (doc.cubicweb.org) Documentation build is now made optional since it can break for old distributions and we don't want to block a new release of Cubicweb because of documentation issues. diff -r a832677c0aa6 -r 07c74f5585d1 debian/control --- a/debian/control Wed Sep 07 16:56:27 2011 +0200 +++ b/debian/control Wed Sep 07 11:37:41 2011 +0200 @@ -7,9 +7,9 @@ Adrien Di Mascio , Aurélien Campéas , Nicolas Chauvat -Build-Depends: debhelper (>= 7), python (>= 2.5), python-central (>= 0.5) +Build-Depends: debhelper (>= 7), python (>= 2.5), python-central (>= 0.5), python-sphinx # for the documentation: -# python-sphinx, python-logilab-common, python-unittest2, +# python-sphinx, python-logilab-common, python-unittest2, logilab-doctools, logilab-xml Standards-Version: 3.9.1 Homepage: http://www.cubicweb.org XS-Python-Version: >= 2.5, << 2.7 diff -r a832677c0aa6 -r 07c74f5585d1 debian/rules --- a/debian/rules Wed Sep 07 16:56:27 2011 +0200 +++ b/debian/rules Wed Sep 07 11:37:41 2011 +0200 @@ -10,14 +10,11 @@ build: build-stamp build-stamp: dh_testdir - # XXX doesn't work if logilab-doctools, logilab-xml are not in build depends - # and I can't get pbuilder find them in its chroot :( - # cd doc && make - # FIXME cleanup and use sphinx-build as build-depends ? NO_SETUPTOOLS=1 python setup.py build - # XXX uncomment this and associated build-depends in control - #when necessary sphinx version is in all built distribution - #PYTHONPATH=$(CURDIR)/.. $(MAKE) -C doc/book/en all + # documentation build is now made optional since it can break for old + # distributions and we don't want to block a new release of Cubicweb + # because of documentation issues. + -PYTHONPATH=$(CURDIR)/.. $(MAKE) -C doc/book/en all touch build-stamp clean: @@ -73,7 +70,7 @@ dh_installman -i dh_installchangelogs -i dh_link -i - dh_compress -i -X.py -X.ini -X.xml + dh_compress -i -X.py -X.ini -X.xml -X.js -X.rst dh_fixperms -i dh_installdeb -i dh_gencontrol -i