[packaging] Build the cubicweb-documentation package stable
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 15 Jun 2011 17:13:26 +0200
branchstable
changeset 7512 d2de5fb0cc33
parent 7511 dfe6c25c6371
child 7513 8f4422391e5a
[packaging] Build the cubicweb-documentation package
debian/control
debian/rules
--- a/debian/control	Wed Jun 15 17:09:44 2011 +0200
+++ b/debian/control	Wed Jun 15 17:13:26 2011 +0200
@@ -8,6 +8,8 @@
            Aurélien Campéas <aurelien.campeas@logilab.fr>,
            Nicolas Chauvat <nicolas.chauvat@logilab.fr>
 Build-Depends: debhelper (>= 7), python (>= 2.5), python-central (>= 0.5)
+# for the documentation:
+# python-sphinx, python-logilab-common, python-unittest2,
 Standards-Version: 3.9.1
 Homepage: http://www.cubicweb.org
 XS-Python-Version: >= 2.5, << 2.7
@@ -133,6 +135,7 @@
 
 
 Package: cubicweb-documentation
+Architecture: all
 Recommends: doc-base
 Description: documentation for the CubicWeb framework
  CubicWeb is a semantic web application framework.
--- a/debian/rules	Wed Jun 15 17:09:44 2011 +0200
+++ b/debian/rules	Wed Jun 15 17:13:26 2011 +0200
@@ -15,6 +15,9 @@
 	# 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
 	touch build-stamp
 
 clean: