diff --git a/debian/control b/debian/control index 7ddd2970e02db75f9b2762f783c94cba8f1eea55..f012debc628ba4237eb6a4b52cf1e91f69339f37 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Section: python Priority: optional Maintainer: Matthias Klose <doko@debian.org> Uploaders: Scott Kitterman <scott@kitterman.com>, Piotr Ożarowski <piotr@debian.org>, Barry Warsaw <barry@debian.org> -Build-Depends: debhelper (>= 8~), python-docutils (>= 0.4-3), debiandoc-sgml +Build-Depends: debhelper (>= 8~), debiandoc-sgml Standards-Version: 3.9.5 Homepage: http://www.python.org/ Vcs-Bzr: http://alioth.debian.org/anonscm/bzr/pkg-python/python-defaults-debian diff --git a/debian/control.in b/debian/control.in index af56e4d6b2eedb45ec38a321b8e9ae768a0f2c0c..b5f5d66d7cd96db51b1ff6fd1cb5cb09e2c20205 100644 --- a/debian/control.in +++ b/debian/control.in @@ -3,7 +3,7 @@ Section: python Priority: optional Maintainer: Matthias Klose <doko@debian.org> Uploaders: Scott Kitterman <scott@kitterman.com>, Piotr Ożarowski <piotr@debian.org>, Barry Warsaw <barry@debian.org> -Build-Depends: debhelper (>= 8~), python-docutils (>= 0.4-3), debiandoc-sgml +Build-Depends: debhelper (>= 8~), debiandoc-sgml Standards-Version: 3.9.5 Homepage: http://www.python.org/ Vcs-Bzr: http://alioth.debian.org/anonscm/bzr/pkg-python/python-defaults-debian diff --git a/debian/rules b/debian/rules index f9a4981247c699be28216eb6f67bbee442beca8c..e29ab7907381b971c9fbb65cb99da1ba0ba039ed 100755 --- a/debian/rules +++ b/debian/rules @@ -96,6 +96,17 @@ get-faq: ) >> faq/FAQ.ht rm -f faq/index.ht +make-faq: + set -e; \ + cd faq && \ + for p in *.ht; do \ + p=`basename $$p .ht`; \ + echo $(rst2html) $$p.ht $$p.html; \ + awk 'NR > 2' $$p.ht > $$p.ht2; \ + $(rst2html) $$p.ht2 $$p.html; \ + rm -f $$p.ht2; \ + done + MANPAGES ?= dh_python2.1 pycompile.1 pyclean.1 %.1: %.rst @@ -149,11 +160,7 @@ stamp-install: stamp-build control-file stamp-control cd faq && \ for p in *.ht; do \ p=`basename $$p .ht`; \ - echo $(rst2html) $$p.ht $$p.html; \ - awk 'NR > 2' $$p.ht > $$p.ht2; \ - $(rst2html) $$p.ht2 $$p.html; \ mv $$p.html ../debian/python/usr/share/doc/python/faq/; \ - rm -f $$p.ht2; \ done mv debian/python/usr/share/doc/python/faq/FAQ.html \ debian/python/usr/share/doc/python/