1 Installation instructions
2 -------------------------
4 Download a tarball from http://jonas.nitro.dk/tig/releases[] or clone the tig
5 repository http://github.com/jonas/tig[git://github.com/jonas/tig.git].
6 Documentation files are available in the tarballs and in the 'release' branch
9 The quick and simple way to install tig with documentation is to run:
12 $ make install install-doc
14 From tig's git repository it is also possible to install documentation directly
15 from the release branch to avoid installing the documentation tool chain:
17 $ make install-release-doc
19 Optionally, you can use the `configure` script to detect dependencies:
25 If your iconv library is not in the default library and include path, you'll
26 probably want to pass the "--with-libiconv" option to the "configure" script to
27 tell it where to look. Note, if you are building from the tig repository, you
28 need to first make the configure script:
32 Build settings are read from the file "config.make". To manually configure tig
33 to use the ncurses library with wide character support, add the line:
37 Release notes documenting notable changes are available in the NEWS file. When
38 upgrading, you are advised to also read them after you have completed the
41 The following tools and packages are needed:
43 [cols="2<,8<",options="header"]
44 |=============================================================================
46 |git-core |Tig is just a frontend for git.
47 |ncurses or ncursesw |Be sure to have the development files
48 installed. Usually they are available in a
49 separate package ending with `-dev`.
50 Note also that ncurses with wide character
51 support (ncursesw) is required to properly
52 handle UTF-8 encoded strings.
53 |iconv |If iconv is not provided by the c library
54 you need to change the Makefile to link it
56 |=============================================================================
58 The following optional tools and packages are needed for creating the
59 configure script and building documentation:
61 [cols="2<,8<",options="header"]
62 |=============================================================================
64 |autoconf |Contains autoreconf for generating configure
66 |asciidoc (>= 8.4) |Generates HTML and (DocBook) XML from text.
67 |xmlto |Generates manpages and chunked HTML from XML.
68 |DocBook XSL (>= 1.72.0) |Used by xmlto for building manpages.
69 |DocBook (DSSL/Jade) tools |Generates PDF from XML.
70 Also known as docbook-utils.
71 |=============================================================================