author | Junio C Hamano <gitster@pobox.com> | |
Thu, 15 Apr 2010 12:57:18 +0000 (08:57 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 17 Apr 2010 19:40:19 +0000 (12:40 -0700) | ||
commit | 8de096b6718048e84ee88e604a94b22937a0758e | |
tree | b82d9dd0ab8468c3574c2ddbae7e60899c6d71d9 | tree | snapshot |
parent | a6ccbbdb66be4e4b90bd54fc644d6366491996b5 | commit | diff |
gitweb: simplify gitweb.min.* generation and clean-up rules
GITWEB_CSS and GITWEB_JS are meant to be "what URI should the installed
cgi script use to refer to the stylesheet and JavaScript", never "this
is the name of the file we are building". Don't use them to decide what
file to build minified versions in.
While we are at it, lose FILES that is used only for "clean" target in a
misguided way. "make clean" should try to remove all the potential
build artifacts regardless of a minor configuration change. Instead of
trying to remove only the build product "make clean" would have created
if it were run without "clean", explicitly list the three potential build
products for removal.
Tested-by: Mark Rada <marada@uwaterloo.co>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
GITWEB_CSS and GITWEB_JS are meant to be "what URI should the installed
cgi script use to refer to the stylesheet and JavaScript", never "this
is the name of the file we are building". Don't use them to decide what
file to build minified versions in.
While we are at it, lose FILES that is used only for "clean" target in a
misguided way. "make clean" should try to remove all the potential
build artifacts regardless of a minor configuration change. Instead of
trying to remove only the build product "make clean" would have created
if it were run without "clean", explicitly list the three potential build
products for removal.
Tested-by: Mark Rada <marada@uwaterloo.co>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/Makefile | diff | blob | history |