Skip to content

Commit 560869e

Browse files
jnarebgitster
authored andcommitted
gitweb: Describe CSSMIN and JSMIN in gitweb/INSTALL
The build-time configuration variables JSMIN and CSSMIN were mentioned only in Makefile; add their description to gitweb/INSTALL. This required moving description of GITWEB_JS up, near GITWEB_CSS and just introduced CSMIN and JSMIN. Signed-off-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent cee694d commit 560869e

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

gitweb/INSTALL

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,19 @@ You can specify the following configuration variables when building GIT:
147147
the gitweb config file. [Default: static/gitweb.css (or
148148
static/gitweb.min.css if the CSSMIN variable is defined / CSS minifier
149149
is used)]
150+
* GITWEB_JS
151+
Points to the location where you put gitweb.js on your web server
152+
(or to be more generic URI of JavaScript code used by gitweb).
153+
Relative to base URI of gitweb. [Default: static/gitweb.js (or
154+
static/gitweb.min.js if JSMIN build variable is defined / JavaScript
155+
minifier is used)]
156+
* CSSMIN, JSMIN
157+
Invocation of a CSS minifier or a JavaScript minifier, respectively,
158+
working as a filter (source on standard input, minified result on
159+
standard output). If set, it is used to generate a minified version of
160+
'static/gitweb.css' or 'static/gitweb.js', respectively. *Note* that
161+
minified files would have *.min.css and *.min.js extension, which is
162+
important if you also set GITWEB_CSS and/or GITWEB_JS. [No default]
150163
* GITWEB_LOGO
151164
Points to the location where you put git-logo.png on your web server
152165
(or to be more generic URI of logo, 72x27 size, displayed in top right
@@ -158,12 +171,6 @@ You can specify the following configuration variables when building GIT:
158171
web browsers that support favicons (website icons) may display them
159172
in the browser's URL bar and next to site name in bookmarks). Relative
160173
to base URI of gitweb. [Default: static/git-favicon.png]
161-
* GITWEB_JS
162-
Points to the location where you put gitweb.js on your web server
163-
(or to be more generic URI of JavaScript code used by gitweb).
164-
Relative to base URI of gitweb. [Default: static/gitweb.js (or
165-
static/gitweb.min.js if JSMIN build variable is defined / JavaScript
166-
minifier is used)]
167174
* GITWEB_CONFIG
168175
This Perl file will be loaded using 'do' and can be used to override any
169176
of the options above as well as some other options -- see the "Runtime

0 commit comments

Comments
 (0)