]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
git: Generate and install man-pages.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 1 Sep 2012 19:26:02 +0000 (21:26 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 1 Sep 2012 19:26:02 +0000 (21:26 +0200)
Fixes #10218.

git/git.nm

index 361fad9217ee7071e3b6bc59fe9edba566a8bffd..1d3b87c2162f9583985bb42c9072ea25552a1a5e 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = git
 version    = 1.7.8.2
-release    = 2
+release    = 3
 
 groups     = Development/Tools
 url        = http://git-scm.com/
@@ -13,8 +13,8 @@ license    = GPLv2
 summary    = Fast Version Control System.
 
 description
-       Git is a fast, scalable, distributed revision control system with an \
-       unusually rich command set that provides both high-level operations \
+       Git is a fast, scalable, distributed revision control system with an
+       unusually rich command set that provides both high-level operations
        and full access to internals.
 end
 
@@ -22,6 +22,7 @@ source_dl  = http://git-core.googlecode.com/files/
 
 build
        requires
+               asciidoc
                expat-devel
                gettext
                libcurl-devel
@@ -29,6 +30,7 @@ build
                perl-ExtUtils-MakeMaker
                perl-devel
                zlib-devel
+               xmlto
        end
 
        prepare_cmds
@@ -57,6 +59,9 @@ build
        make_install_targets += INSTALLDIRS=vendor
 
        install_cmds
+               # Install man pages.
+               make install-doc DESTDIR=%{BUILDROOT}
+
                # Install bash completion file.
                mkdir -pv %{BUILDROOT}%{sysconfdir}/bash_completion.d
                install -v -m 644 contrib/completion/git-completion.bash \