X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/24b5b3e07ce10436d3aefb02bc7e66dc59fd09a6..421ab13a2aa652d6b07ecc1a270a8b1ce5be451d:/INSTALL?ds=sidebyside diff --git a/INSTALL b/INSTALL index c0ba999..586878e 100644 --- a/INSTALL +++ b/INSTALL @@ -12,7 +12,12 @@ To install tig simply run: To install documentation run: - $ make install-docs + $ make install-doc + +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: @@ -21,7 +26,10 @@ 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 + 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) -------------------------------------------------------------------------------