]> git.ipfire.org Git - thirdparty/git.git/commit
gitweb/Makefile: clear up and de-duplicate the gitweb.{css,js} vars
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 28 Jun 2022 10:15:57 +0000 (12:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Jun 2022 20:20:04 +0000 (13:20 -0700)
commit564ebde3d323fc3b22534dcbb32723807771b955
treeada62f26f12235eaaadd4b3bc0da9790eeda64bd
parent1e08fa5e2bf9cd254a742a0ac3e950a12fc45915
gitweb/Makefile: clear up and de-duplicate the gitweb.{css,js} vars

Change the variable definitions for the $(GITWEB_CSS) and $(GITWEB_JS)
so that we have a clear separation between what we use as "in" files,
v.s. our "min" files. We can now make the appending to $(GITWEB_FILES)
unconditional, since $(GITWEB_{JS,CSS}) is either the "min" or
non-"min" version. This reduces the duplication within the file.

While we're at it let's initialize "GITWEB_JSLIB_FILES" as we normally
do with such variables.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/Makefile