Browse Source

git: fixed to only build/install html documentation if asciidoc is available (see note)

Note:

Following text is taken from the 'INSTALL' included within the git source.
--------------------------------------------------------------------------
- To build and install documentation suite, you need to have
  the asciidoc/xmlto toolchain.  Because not many people are
  inclined to install the tools, the default build target
  ("make all") does _not_ build them.

  "make doc" builds documentation in man and html formats; there are
  also "make man", "make html" and "make info". Note that "make html"
  requires asciidoc, but not xmlto. "make man" (and thus make doc)
  requires both.

  "make install-doc" installs documentation in man format only; there
  are also "make install-man", "make install-html" and "make
  install-info".

  Building and installing the info file additionally requires
  makeinfo and docbook2X.  Version 0.8.3 is known to work.

  Building and installing the pdf file additionally requires
  dblatex.  Version 0.2.7 with asciidoc >= 8.2.7 is known to work.

  The documentation is written for AsciiDoc 7, but "make
  ASCIIDOC8=YesPlease doc" will let you format with AsciiDoc 8.
--------------------------------------------------------------------------
stable/0.2
Christian Wiese 14 years ago
parent
commit
0f5b4efed6
  1. 6
      develop/git/git.conf

6
develop/git/git.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../git/git.conf
# Copyright (C) 2007 - 2010 The OpenSDE Project
# Copyright (C) 2007 - 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
@ -25,8 +25,8 @@ var_append makeinstopt ' ' 'gitwebdir=$root$docdir/gitweb'
var_append makeinstopt ' ' 'install-gitweb'
if pkginstalled asciidoc; then
var_append makeopt ' ' 'doc'
var_append makeinstopt ' ' 'install-doc'
var_append makeopt ' ' 'html'
var_append makeinstopt ' ' 'install-html'
fi
git_contrib_install() {

Loading…
Cancel
Save