diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-06-28 12:15:56 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-06-28 13:20:04 -0700 |
| commit | 1e08fa5e2bf9cd254a742a0ac3e950a12fc45915 (patch) | |
| tree | 35adf29716adb29e9e2936f7be2506570f181264 /gitweb | |
| parent | 7decdb9b4ac322158069645685b7527cba65a7e7 (diff) | |
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>
Diffstat (limited to 'gitweb')
| -rw-r--r-- | gitweb/Makefile | 7 |
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 |
