Commit | Line | Data |
---|---|---|
634392b2 DG |
1 | HOW TO INSTALL git-subtree |
2 | ========================== | |
3 | ||
926b1ec6 DG |
4 | First, build from the top source directory. |
5 | ||
6 | Then, in contrib/subtree, run: | |
7 | ||
8 | make | |
9 | make install | |
10 | make install-doc | |
634392b2 | 11 | |
926b1ec6 DG |
12 | If you used configure to do the main build the git-subtree build will |
13 | pick up those settings. If not, you will likely have to provide a | |
14 | value for prefix: | |
634392b2 | 15 | |
926b1ec6 DG |
16 | make prefix=<some dir> |
17 | make prefix=<some dir> install | |
18 | make prefix=<some dir> install-doc | |
634392b2 | 19 | |
926b1ec6 DG |
20 | To run tests first copy git-subtree to the main build area so the |
21 | newly-built git can find it: | |
634392b2 | 22 | |
926b1ec6 | 23 | cp git-subtree ../.. |
634392b2 | 24 | |
926b1ec6 | 25 | Then: |
634392b2 | 26 | |
926b1ec6 | 27 | make test |
634392b2 | 28 |