File: INSTALL

package info (click to toggle)
tig 1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,104 kB
  • sloc: ansic: 7,783; sh: 280; makefile: 223
file content (71 lines) | stat: -rw-r--r-- 2,734 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Installation instructions
-------------------------

Download a tarball from http://jonas.nitro.dk/tig/releases[] or clone the tig
repository http://github.com/jonas/tig[git://github.com/jonas/tig.git].
Documentation files are available in the tarballs and in the 'release' branch
of the tig repository.

The quick and simple way to install tig with documentation is to run:

	$ make
	$ make install install-doc

From tig's git repository it is also possible to install documentation directly
from the release branch to avoid installing the documentation tool chain:

	$ make install-release-doc

Optionally, you can use the `configure` script to detect dependencies:

	$ ./configure
	$ make
	$ make install

If your iconv library is not in the default library and include path, you'll
probably want to pass the "--with-libiconv" option to the "configure" script to
tell it where to look. Note, if you are building from the tig repository, you
need to first make the configure script:

	$ make configure

Build settings are read from the file "config.make". To manually configure tig
to use the ncurses library with wide character support, add the line:

	LDLIBS = -lncursesw

Release notes documenting notable changes are available in the NEWS file. When
upgrading, you are advised to also read them after you have completed the
installation.

The following tools and packages are needed:

[cols="2<,8<",options="header"]
|=============================================================================
|Tool				|Description
|git-core			|Tig is just a frontend for git.
|ncurses or ncursesw		|Be sure to have the development files
				 installed. Usually they are available in a
				 separate package ending with `-dev`.
				 Note also that ncurses with wide character
				 support (ncursesw) is required to properly
				 handle UTF-8 encoded strings.
|iconv				|If iconv is not provided by the c library
				 you need to change the Makefile to link it
				 into the binary.
|=============================================================================

The following optional tools and packages are needed for creating the
configure script and building documentation:

[cols="2<,8<",options="header"]
|=============================================================================
|Tool				|Description
|autoconf			|Contains autoreconf for generating configure
				 from configure.ac.
|asciidoc (>= 8.4)		|Generates HTML and (DocBook) XML from text.
|xmlto				|Generates manpages and chunked HTML from XML.
|DocBook XSL (>= 1.72.0)	|Used by xmlto for building manpages.
|DocBook (DSSL/Jade) tools	|Generates PDF from XML.
				Also known as docbook-utils.
|=============================================================================