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