[Python-modules-commits] r18873 - in packages/sphinx/trunk/debian (5 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Wed Oct 12 08:47:39 UTC 2011
Date: Wednesday, October 12, 2011 @ 08:47:35
Author: jwilk
Revision: 18873
Update version numbers in the manual pages.
Add a build-time warning to be emitted if they ever get out of date again.
Modified:
packages/sphinx/trunk/debian/changelog
packages/sphinx/trunk/debian/rules
packages/sphinx/trunk/debian/sphinx-autogen.1
packages/sphinx/trunk/debian/sphinx-build.1
packages/sphinx/trunk/debian/sphinx-quickstart.1
Modified: packages/sphinx/trunk/debian/changelog
===================================================================
--- packages/sphinx/trunk/debian/changelog 2011-10-12 07:27:27 UTC (rev 18872)
+++ packages/sphinx/trunk/debian/changelog 2011-10-12 08:47:35 UTC (rev 18873)
@@ -1,3 +1,10 @@
+sphinx (1.0.8+dfsg-3) UNRELEASED; urgency=low
+
+ * Update version numbers in the manual pages. Add a build-time warning to be
+ emitted if they ever get out of date again.
+
+ -- Jakub Wilk <jwilk at debian.org> Wed, 12 Oct 2011 10:46:05 +0200
+
sphinx (1.0.8+dfsg-2) unstable; urgency=low
* Upload to unstable.
Modified: packages/sphinx/trunk/debian/rules
===================================================================
--- packages/sphinx/trunk/debian/rules 2011-10-12 07:27:27 UTC (rev 18872)
+++ packages/sphinx/trunk/debian/rules 2011-10-12 08:47:35 UTC (rev 18873)
@@ -8,6 +8,7 @@
here = $(dir $(firstword $(MAKEFILE_LIST)))/..
debian_version = $(word 2,$(shell cd $(here) && dpkg-parsechangelog | grep ^Version:))
upstream_dfsg_version = $(firstword $(subst -, ,$(debian_version)))
+upstream_version = $(firstword $(subst +, ,$(debian_version)))
PACKAGE_NAME=python-sphinx
PACKAGE_DIR=$(CURDIR)/debian/$(PACKAGE_NAME)
@@ -86,6 +87,9 @@
dh_install
./debian/dh-sphinxdoc/dh_sphinxdoc /usr/share/doc/python-sphinx/html/
dh_installexamples
+ifneq ($(shell grep -h '^[.]TH' debian/*.1 | cut -d ' ' -f 6-7 | sort -u), "Sphinx $(upstream_version)")
+ $(warning W: version numbers in the manual pages are out of date)
+endif
dh_installman
dh_pysupport
dh_compress -X.py -X.js -X.rst -X.json -X.txt -Xobjects.inv
Modified: packages/sphinx/trunk/debian/sphinx-autogen.1
===================================================================
--- packages/sphinx/trunk/debian/sphinx-autogen.1 2011-10-12 07:27:27 UTC (rev 18872)
+++ packages/sphinx/trunk/debian/sphinx-autogen.1 2011-10-12 08:47:35 UTC (rev 18873)
@@ -1,4 +1,4 @@
-.TH sphinx\-autogen 1 "Aug 2010" "Jan Dittberner" "User Commands"
+.TH sphinx\-autogen 1 "Aug 2010" "Sphinx 1.0.8" "User Commands"
.SH NAME
sphinx\-autogen \- generate ReStructuredText using \fBautosummary\fR
Modified: packages/sphinx/trunk/debian/sphinx-build.1
===================================================================
--- packages/sphinx/trunk/debian/sphinx-build.1 2011-10-12 07:27:27 UTC (rev 18872)
+++ packages/sphinx/trunk/debian/sphinx-build.1 2011-10-12 08:47:35 UTC (rev 18873)
@@ -1,4 +1,4 @@
-.TH sphinx-build 1 "Aug 2010" "Sphinx 0.6.6" "User Commands"
+.TH sphinx-build 1 "Aug 2010" "Sphinx 1.0.8" "User Commands"
.SH NAME
sphinx-build \- Sphinx documentation generator tool
.SH SYNOPSIS
Modified: packages/sphinx/trunk/debian/sphinx-quickstart.1
===================================================================
--- packages/sphinx/trunk/debian/sphinx-quickstart.1 2011-10-12 07:27:27 UTC (rev 18872)
+++ packages/sphinx/trunk/debian/sphinx-quickstart.1 2011-10-12 08:47:35 UTC (rev 18873)
@@ -1,4 +1,4 @@
-.TH sphinx-quickstart 1 "Apr 2008" "Sphinx 0.1.61950" "User Commands"
+.TH sphinx-quickstart 1 "Aug 2010" "Sphinx 1.0.8" "User Commands"
.SH NAME
sphinx-quickstart \- Sphinx documentation template generator
.SH SYNOPSIS
More information about the Python-modules-commits
mailing list