diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-03-23 09:09:23 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-03-23 09:09:23 +0100 |
| commit | 3069e43edca71776a4f9e5f5e7f53d473c397695 (patch) | |
| tree | 90123ab717367f6e137b7cfb56318dbffd54c1e8 /debian/rules | |
| parent | 85238ea03cd35b48a90a2fc1f63f2cf05d5b83b4 (diff) | |
| parent | 95112f12cea6ec54aaa8b5e372ee158a300f8967 (diff) | |
| download | python-apt-3069e43edca71776a4f9e5f5e7f53d473c397695.tar.gz | |
merge from debian-sid
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules index 6d1f07bf..a65c5cfd 100755 --- a/debian/rules +++ b/debian/rules @@ -9,12 +9,14 @@ export CFLAGS=-Wno-write-strings -DCOMPAT_0_7 override_dh_auto_build: dh_auto_build - python setup.py build_sphinx override_dh_installdocs: - dh_installdocs - rm -rf debian/python-apt-dbg/usr/share/doc/python-apt-dbg - ln -s python-apt debian/python-apt-dbg/usr/share/doc/python-apt-dbg + set -e; if [ -z $(filter -a,$(DH_INTERNAL_OPTIONS)) ]; then \ + python setup.py build_sphinx; \ + dh_installdirs -ppython-apt-doc usr/share/doc/python-apt; \ + fi + dh_installdirs -ppython-apt-dev usr/share/doc/python-apt + dh_installdocs --link-doc=python-apt override_dh_strip: dh_strip --dbg-package=python-apt-dbg |
