| 1 | HOW TO INSTALL git-subtree |
| 2 | ========================== |
| 3 | |
| 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 |
| 11 | |
| 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: |
| 15 | |
| 16 | make prefix=<some dir> |
| 17 | make prefix=<some dir> install |
| 18 | make prefix=<some dir> install-doc |
| 19 | |
| 20 | To run tests first copy git-subtree to the main build area so the |
| 21 | newly-built git can find it: |
| 22 | |
| 23 | cp git-subtree ../.. |
| 24 | |
| 25 | Then: |
| 26 | |
| 27 | make test |
| 28 |