Skip to content
Snippets Groups Projects
Commit 082d34b9 authored by Scott Kitterman's avatar Scott Kitterman
Browse files

Handle pregeneration of README.PyDist.html

parent cb12e4d3
No related branches found
No related tags found
No related merge requests found
......@@ -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~), debiandoc-sgml
Build-Depends: debhelper (>= 8~), python-all, 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
......
......@@ -53,7 +53,7 @@ stamp-doc-policy:
debiandoc2html -l en.UTF-8 debian/python-policy.sgml
rm -rf debian/python-policy.html
mv -f python-policy.html debian/
make -C pydist README.PyDist.html
make -C pydist
touch stamp-doc-policy
stamp-doc: stamp-doc-policy
......@@ -114,6 +114,8 @@ MANPAGES ?= dh_python2.1 pycompile.1 pyclean.1
# Manually run this rule if there is a need to update the dh_python2 man pages
make-man: $(MANPAGES)
cd pydist && \
rst2html README.PyDist > README.PyDist.html
clean: control-file
dh_testdir
......@@ -173,7 +175,7 @@ stamp-dh_python:
dh_installdirs
-make check_versions
DESTDIR=debian/python PREFIX=/usr make install-dev
DESTDIR=debian/python-minimal PREFIX=/usr make install-runtime manpages
DESTDIR=debian/python-minimal PREFIX=/usr make install-runtime
# disabled by default, run manually if you want to update it
# (requires apt-file and network connection)
#make -C pydist dist_fallback
......
......@@ -3,12 +3,8 @@
clean:
rm -rf cache
#rm -f dist_fallback
rm -f README.PyDist.html
dist_fallback: sources.list
python ./generate_fallback_list.py --skip-sensible-names
README.PyDist.html: README.PyDist
rst2html $< $@
.PHONY: clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment