[debian] include compiled documentation instead of source in cubicweb-documentation debian pkg
--- a/debian/control Fri Oct 15 16:12:47 2010 +0200
+++ b/debian/control Fri Oct 15 16:20:27 2010 +0200
@@ -7,7 +7,7 @@
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>,
Aurélien Campéas <aurelien.campeas@logilab.fr>,
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
-Build-Depends: debhelper (>= 5), python-dev (>=2.5), python-central (>= 0.5)
+Build-Depends: debhelper (>= 5), python-dev (>=2.5), python-central (>= 0.5), python-sphinx, logilab-doctools
Standards-Version: 3.8.0
Homepage: http://www.cubicweb.org
XS-Python-Version: >= 2.5, << 2.7
--- a/debian/cubicweb-documentation.install.in Fri Oct 15 16:12:47 2010 +0200
+++ b/debian/cubicweb-documentation.install.in Fri Oct 15 16:20:27 2010 +0200
@@ -1,2 +1,1 @@
-doc/book usr/share/doc/cubicweb-documentation
debian/cubicweb-doc usr/share/doc-base/cubicweb-doc
--- a/debian/rules Fri Oct 15 16:12:47 2010 +0200
+++ b/debian/rules Fri Oct 15 16:20:27 2010 +0200
@@ -38,6 +38,8 @@
# Put all the python library and data in cubicweb-common
# and scripts in cubicweb-server
+ # build doc
+ BUILDDIR=${PWD}/debian/tmp/cubicweb-book/en make -e -C doc/book/en html
dh_install -vi
# cwctl in the cubicweb-ctl package
rm -f debian/cubicweb-common/usr/share/pyshared/cubicweb/cwctl.py