From: Ævar Arnfjörð Bjarmason Date: Tue, 28 Jun 2022 10:15:56 +0000 (+0200) Subject: gitweb/Makefile: add a $(GITWEB_ALL) variable X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/00bf25ffbb3f4c85bb917db8ce9326afac781bbc57bc469bfb8b372dad9525dd?ds=sidebyside 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 Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index e79c2dc..3d6ab03 100644 --- a/Makefile +++ b/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