Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
git_install_from_source [2019/10/02 20:02] – [Documentation] rpjdaygit_install_from_source [2019/10/02 20:36] (current) – [The end results] rpjday
Line 4: Line 4:
  
 ===== The recipe ===== ===== The recipe =====
 +
 +Clone:
  
 <code> <code>
 $ git clone https://github.com/git/git.git $ git clone https://github.com/git/git.git
-... +</code> 
-$ make + 
-$ make install+Configure for personal destination directory: 
 + 
 +<code> 
 +$ make configure 
 +./configure --prefix=/home/rpjday/newgit 
 +</code> 
 + 
 +Build and install: 
 + 
 +<code> 
 +$ make all install 
 +$ make doc install-doc install-html
 </code> </code>
  
 ===== The end results ===== ===== The end results =====
  
-All installed under your home directory:+All installed under your selected directory:
  
   * bin/   * bin/
Line 37: Line 50:
  
 <code> <code>
-PATH=~/bin:$PATH+PATH=~/newgit/bin:$PATH
 </code> </code>
  
 and away you go. and away you go.
- 
-===== Documentation ===== 
- 
-<code> 
-.PHONY: doc man man-perl html info pdf 
-doc: man-perl 
-        $(MAKE) -C Documentation all 
- 
-man: man-perl 
-        $(MAKE) -C Documentation man 
- 
-man-perl: perl/build/man/man3/Git.3pm 
- 
-html: 
-        $(MAKE) -C Documentation html 
- 
-info: 
-        $(MAKE) -C Documentation info 
- 
-pdf: 
-        $(MAKE) -C Documentation pdf 
-</code> 
  
  
  • git_install_from_source.1570046540.txt.gz
  • Last modified: 2019/10/02 20:02
  • by rpjday