зеркало из https://github.com/microsoft/git.git
gitweb/Makefile: add a $(GITWEB_ALL) variable
Declare the targets that the "all" target depends on with a new $(GITWEB_ALL) variable. This will help to reduce churn in subsequent commits. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
7decdb9b4a
Коммит
1e08fa5e2b
|
@ -54,6 +54,11 @@ ifneq ($(MAKECMDGOALS),clean)
|
||||||
-include ../GIT-VERSION-FILE
|
-include ../GIT-VERSION-FILE
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# What targets we'll add to 'all' for "make gitweb"
|
||||||
|
GITWEB_ALL =
|
||||||
|
GITWEB_ALL += gitweb.cgi
|
||||||
|
GITWEB_ALL += static/gitweb.js
|
||||||
|
|
||||||
### Build rules
|
### Build rules
|
||||||
|
|
||||||
SHELL_PATH ?= $(SHELL)
|
SHELL_PATH ?= $(SHELL)
|
||||||
|
@ -92,7 +97,7 @@ ifndef V
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all:: gitweb.cgi static/gitweb.js
|
all:: $(GITWEB_ALL)
|
||||||
|
|
||||||
GITWEB_PROGRAMS = gitweb.cgi
|
GITWEB_PROGRAMS = gitweb.cgi
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче