Enable highlight executable path as a configuration option
commit7ce896b3000a7bd2ea24f02ad3051f43ad351e1f
authorChristopher Wilson <cwilson@cdwilson.us>
Tue, 21 Sep 2010 07:25:19 +0000 (21 00:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Sep 2010 17:47:04 +0000 (27 10:47 -0700)
treea9836b042514967c5a5ca14addc75f010ae4c911
parent9027fa9eb7df606b6658dd48a40bb993ce222ddd
Enable highlight executable path as a configuration option

Allow build-time/run-time configuration of the highlight executable
(must be the one from http://www.andre-simon.de due to assumptions
about parameters and output).  Defaults to previous behavior which
assumes that highlight is available on the server PATH. However, if
this is not the case, the path to the highlight executable can be
configured at build time as a configuration variable

    HIGHLIGHT_BIN = /path/to/highlight

or at runtime by configuring GITWEB_CONFIG

    $highlight_bin = /path/to/highlight

Signed-off-by: Christopher Wilson <cwilson@cdwilson.us>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/Makefile
gitweb/README [changed mode: 0644->0755]
gitweb/gitweb.perl