-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathINSTALL
61 lines (42 loc) · 2.02 KB
/
INSTALL
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
TopGit installation
Direct from source
------------------
Although TopGit is essentially a bunch of shell scripts (and their
accompanying documentation), it does require some preprocessing.
Normally you can just do "make" followed by "make install", and that will
install the tg program in your own ~/bin/ directory. If you want to do a
global install, you can do
make prefix=/usr install # as root
(or prefix=/usr/local, of course). Just like any program suite that uses
$prefix, the built results have some paths encoded, which are derived from
$prefix, so "make; make prefix=/usr install" would not work.
The Makefile does not currently install the bash completion support in
contrib/tg-completion.bash. Instructions for installing that file are at the
top of that file.
To install the html version of the help you need rst2html and then use
"make html" followed by "make install-html". The same use of prefix=
applies here as well. Set RST2HTML to the location of the rst2html
executabile if it's not named "rst2html" or not located in $PATH. Also
note that "make doc" and "make install-doc" will accomplish the same thing.
The standard DESTDIR variable is supported to install to an intermediate
location before moving to the final intended destination via some other means.
The TopGit git repository can be found at: https://repo.or.cz/topgit/pro
Other
-----
Alternatively, you can install using OS/distro-specific packages or similar
- which should also pull in git as a dependency if you are installing on
a machine which does not already have git installed.
Note that most such packages have not yet been updated to point to the new
TopGit repo on GitHub. Ones that have are listed below:
Linux
~~~~~
* Fedora/EPEL/QubesOS: yum install topgit
* Exherbo: cave resolve dev-scm/topgit -x
* Nix: nix-env -f nixpkgs-version -i topgit
* openSUSE: https://software.opensuse.org/download.html?project=devel:tools:scm&package=topgit
Mac OS X
~~~~~~~~
* Nix: nix-env -f nixpkgs-version -i topgit
FreeBSD
~~~~~~~
none as yet