File: INSTALL

package info (click to toggle)
tig 0.5-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 300 kB
  • ctags: 295
  • sloc: ansic: 2,578; makefile: 125; sh: 46
file content (35 lines) | stat: -rw-r--r-- 1,354 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
Installation instructions
-------------------------

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

To install tig simply run:

	$ make install

To install documentation run:

	$ make install-docs

Edit the Makefile if you need to configure specific compiler or linker flags.
On FreeBSD for example the c library does not support the iconv interface and
to compile tig you need to append `-L/usr/local/lib -liconv` to `LDLIBS` and
`-I/usr/local/include` to the `CFLAGS` variable.

The following tools and packages are needed:

`-------------------------------`----------------------------------------------
Tool				Description
-------------------------------------------------------------------------------
git-core			Tig is just a frontend for git.
ncurses				Be sure to also have development files \
				installed. Usually they are available in a \
				separate package ending with `-dev`.
iconv				If iconv is not provided by the c library \
				you need to change the Makefile to link it \
				into the binary.
asciidoc (>= 7.0), xmlto	For building documentation. (Optional)
-------------------------------------------------------------------------------