Ever since v1.6.5.5~3 (Documentation: Avoid use of xmlto
--stringparam, 2009-12-04), the references at the end of Debian’s
git manpages have used URLs depending on the value of $HOME in
the build environment:

| NOTES
|         1. Everyday Git
|            file:///home/jrn/share/doc/git-doc/everyday.html
|
|         2. Git User’s Manual
|            file:///home/jrn/share/doc/git-doc/user-manual.html

It is questionable whether manpages should use URLs instead of
pathnames at all.  But as long as that is what our toolchain
gives, we might as well use the correct URL, starting with /usr
instead of $HOME.

Signed-off-by: Jonathan Nieder <jrnie...@gmail.com>
---

 debian/changelog |    4 +++-
 debian/rules     |    2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9a7a81a..11cfe82 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,8 +17,10 @@ git-core (1:1.6.6.1-1) unstable; urgency=low
   [ Jonathan Nieder ]
   * debian/rules: ignore test suite failures on ia64 (workaround:
     #563882).
+  * debian/rules: set prefix when building manpages (fixes references in
+    manpages to point to /usr/share/doc/git-doc instead of $HOME).
 
- -- Gerrit Pape <p...@smarden.org>  Wed, 27 Jan 2010 13:30:29 +0000
+ -- Gerrit Pape <p...@smarden.org>  Thu, 28 Jan 2010 15:12:09 -0600
 
 git-core (1:1.6.6-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index fdb2b85..071fa73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ OPTS =NO_OPENSSL=1 prefix=/usr gitexecdir=/usr/lib/git-core \
   PYTHON_PATH=/usr/bin/python \
   THREADED_DELTA_SEARCH=1 NO_CROSS_DIRECTORY_HARDLINKS=1 \
   DEFAULT_PAGER=pager DEFAULT_EDITOR=editor
-DOC_OPTS =ASCIIDOC8=1 ASCIIDOC_NO_ROFF=1
+DOC_OPTS =prefix=/usr ASCIIDOC8=1 ASCIIDOC_NO_ROFF=1
 
 ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
   STRIP =: strip
-- 
1.7.0.rc0




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to