summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2009-01-09 21:52:32 +0100
committerJulian Andres Klode <jak@debian.org>2009-01-09 21:52:32 +0100
commit21ba650e32457ee67ac0f85b03c071969aa5934b (patch)
treecd9658996fbc6178317538b167f5281c92f1e6f4 /debian
parent6a806f0570599e8f5e9438c9623d496df75571d4 (diff)
downloadpython-apt-21ba650e32457ee67ac0f85b03c071969aa5934b.tar.gz
* setup.py, doc/source/conf.py: Fix building by adding build/lib* to PYTHONPATH
We now build the extension first, and then the documentation. Also add the text docs.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/python-apt.docs3
-rwxr-xr-xdebian/rules1
3 files changed, 7 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 1002bead..7d37e7be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,7 +13,9 @@ python-apt (0.7.9~exp2) experimental; urgency=low
- debian/rules: Build the documentation here
- setup.py: Remove pydoc building and add new docs.
- debian/examples: Include examples from documentation
- - debian/python-apt.docs: Change html/ to doc/build/html.
+ - debian/python-apt.docs:
+ + Change html/ to build/doc/html.
+ + Add build/doc/text for the text-only documentation
* setup.py:
- Only create build/data when building, not all the time
- Remove build/mo and build/data on clean -a
@@ -22,7 +24,7 @@ python-apt (0.7.9~exp2) experimental; urgency=low
they are only needed for oldstable (sarge)
- Build-Depend on python-sphinx (>= 0.5)
- -- Julian Andres Klode <jak@debian.org> Fri, 09 Jan 2009 17:20:41 +0100
+ -- Julian Andres Klode <jak@debian.org> Fri, 09 Jan 2009 18:11:30 +0100
python-apt (0.7.9~exp1) experimental; urgency=low
diff --git a/debian/python-apt.docs b/debian/python-apt.docs
index ff53abec..6ba083f5 100644
--- a/debian/python-apt.docs
+++ b/debian/python-apt.docs
@@ -1,4 +1,5 @@
README
apt/README.apt
data/templates/README.templates
-doc/build/html/
+build/doc/html/
+build/doc/text/
diff --git a/debian/rules b/debian/rules
index adaad2a8..90b48cda 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@ include /usr/share/cdbs/1/class/python-distutils.mk
PKG=python-apt
DEBVER=$(shell dpkg-parsechangelog |sed -n -e '/^Version:/s/^Version: //p')
+DEB_COMPRESS_EXCLUDE:=.html .js _static/* _sources/* _sources/*/* .inv
DEB_BUILD_PROG:=debuild --preserve-envvar PATH --preserve-envvar CCACHE_DIR -us -uc $(DEB_BUILD_PROG_OPTS)
build/python-apt-dbg::