]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Pull common "static" out into its own variable gitweb-static
authorAlejandro R. Sedeño <asedeno@mit.edu>
Thu, 22 Jul 2010 05:13:12 +0000 (01:13 -0400)
committerAlejandro R. Sedeño <asedeno@mit.edu>
Thu, 22 Jul 2010 05:13:12 +0000 (01:13 -0400)
This is used to affect where static content is served from, though not
where it is installed.

gitweb/Makefile

index 2fb7c2d77bbd5f2041341822859dce51ae504d83..b42a0c2222c93c6fbd1f7a5afe346318891982e1 100644 (file)
@@ -29,10 +29,11 @@ GITWEB_STRICT_EXPORT =
 GITWEB_BASE_URL =
 GITWEB_LIST =
 GITWEB_HOMETEXT = indextext.html
-GITWEB_CSS = static/gitweb.css
-GITWEB_LOGO = static/git-logo.png
-GITWEB_FAVICON = static/git-favicon.png
-GITWEB_JS = static/gitweb.js
+GITWEB_STATIC = static
+GITWEB_CSS = $(GITWEB_STATIC)/gitweb.css
+GITWEB_LOGO = $(GITWEB_STATIC)/git-logo.png
+GITWEB_FAVICON = $(GITWEB_STATIC)/git-favicon.png
+GITWEB_JS = $(GITWEB_STATIC)/gitweb.js
 GITWEB_SITE_HEADER =
 GITWEB_SITE_FOOTER =