Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitweb/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gitweb/Makefile b/gitweb/Makefile
index abb5c9f9ab..733b60f925 100644
--- a/gitweb/Makefile
+++ b/gitweb/Makefile
@@ -54,6 +54,11 @@ ifneq ($(MAKECMDGOALS),clean)
-include ../GIT-VERSION-FILE
endif
+# What targets we'll add to 'all' for "make gitweb"
+GITWEB_ALL =
+GITWEB_ALL += gitweb.cgi
+GITWEB_ALL += static/gitweb.js
+
### Build rules
SHELL_PATH ?= $(SHELL)
@@ -92,7 +97,7 @@ ifndef V
endif
endif
-all:: gitweb.cgi static/gitweb.js
+all:: $(GITWEB_ALL)
GITWEB_PROGRAMS = gitweb.cgi