@@ -7,7 +7,9 @@ gitweb.css, git-logo.png and git-favicon.png) to their destination.
7
7
For example if git was (or is) installed with /usr prefix, you can do
8
8
9
9
$ make prefix=/usr gitweb ;# as yourself
10
- # cp gitweb/git* /var/www/cgi-bin/ ;# as root
10
+ # cp gitweb/*.cgi gitweb/*.css \
11
+ gitweb/*.js gitweb/*.png \
12
+ /var/www/cgi-bin/ ;# as root
11
13
12
14
Alternatively you can use autoconf generated ./configure script to
13
15
set up path to git binaries (via config.mak.autogen), so you can write
@@ -16,7 +18,9 @@ instead
16
18
$ make configure ;# as yourself
17
19
$ ./configure --prefix=/usr ;# as yourself
18
20
$ make gitweb ;# as yourself
19
- # cp gitweb/git* /var/www/cgi-bin/ ;# as root
21
+ # cp gitweb/*.cgi gitweb/*.css \
22
+ gitweb/*.js gitweb/*.png \
23
+ /var/www/cgi-bin/ ;# as root
20
24
21
25
The above example assumes that your web server is configured to run
22
26
[executable] files in /var/www/cgi-bin/ as server scripts (as CGI
@@ -74,9 +78,10 @@ file for gitweb (in gitweb/README).
74
78
Build example
75
79
~~~~~~~~~~~~~
76
80
77
- - To install gitweb to /var/www/cgi-bin/gitweb/ when git wrapper
78
- is installed at /usr/local/bin/git and the repositories (projects)
79
- we want to display are under /home/local/scm, you can do
81
+ - To install gitweb to /var/www/cgi-bin/gitweb/, when git wrapper
82
+ is installed at /usr/local/bin/git, the repositories (projects)
83
+ we want to display are under /home/local/scm, and you do not use
84
+ minifiers, you can do
80
85
81
86
make GITWEB_PROJECTROOT="/home/local/scm" \
82
87
GITWEB_JS="/gitweb/gitweb.js" \
@@ -86,8 +91,8 @@ Build example
86
91
bindir=/usr/local/bin \
87
92
gitweb
88
93
89
- cp -fv ~/git/ gitweb/gitweb.{cgi,js,css} \
90
- ~/git/ gitweb/git-{favicon,logo}.png \
94
+ cp -fv gitweb/gitweb.{cgi,js,css} \
95
+ gitweb/git-{favicon,logo}.png \
91
96
/var/www/cgi-bin/gitweb/
92
97
93
98
0 commit comments