]> git.pld-linux.org Git - packages/git-core.git/commitdiff
specify MAN_BASE_URL auto/th/git-core-1.8.0-2
authorElan Ruusamäe <glen@delfi.ee>
Sun, 11 Nov 2012 20:21:42 +0000 (22:21 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 11 Nov 2012 20:21:42 +0000 (22:21 +0200)
so links to howto (i.e man git-revert) point to our howto path from
git-core-doc package

git-core.spec

index 6713243d5be6b8d3bee54b88271ca639e0d6c51d..0d3e6aec9ff86dfb9e2b1d3122f13879b0cca28a 100644 (file)
@@ -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}
This page took 0.038155 seconds and 4 git commands to generate.