[packages/git-core] specify MAN_BASE_URL
glen
glen at pld-linux.org
Sun Nov 11 21:22:42 CET 2012
commit 83b9a8cd1cc117c6964e43d107ab8aef4fbf0e3e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Nov 11 22:21:42 2012 +0200
specify MAN_BASE_URL
so links to howto (i.e man git-revert) point to our howto path from
git-core-doc package
git-core.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/git-core.spec b/git-core.spec
index 6713243..0d3e6ae 100644
--- a/git-core.spec
+++ b/git-core.spec
@@ -10,7 +10,7 @@ Summary: Distributed version control system focused on speed, effectivity and us
Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
Name: git-core
Version: 1.8.0
-Release: 1
+Release: 2
License: GPL v2
Group: Development/Tools
Source0: http://git-core.googlecode.com/files/git-%{version}.tar.gz
@@ -398,7 +398,11 @@ echo "BLK_SHA1=1" >> config.mak
GITWEB_FAVICON="/gitweb/git-favicon.png" \
V=1
-%{?with_doc:%{__make} -C Documentation V=1}
+%if %{with doc}
+%{__make} -C Documentation \
+ MAN_BASE_URL=file://%{_docdir}/%{name}-doc-%{version}/ \
+ V=1
+%endif
%if %{with tests}
%if %{without tests_cvs}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/83b9a8cd1cc117c6964e43d107ab8aef4fbf0e3e
More information about the pld-cvs-commit
mailing list