X-Git-Url: https://git.distorted.org.uk/~mdw/tig/blobdiff_plain/24b5b3e07ce10436d3aefb02bc7e66dc59fd09a6..HEAD:/INSTALL diff --git a/INSTALL b/INSTALL index c0ba999..088f674 100644 --- a/INSTALL +++ b/INSTALL @@ -14,6 +14,11 @@ 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: `-------------------------------`---------------------------------------------- @@ -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) -------------------------------------------------------------------------------