From: Jeff King Date: Tue, 28 Apr 2009 03:34:24 +0000 (-0400) Subject: Makefile: fix NO_PERL bug with gitweb X-Git-Tag: v1.6.3-rc4~16 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/62f780dcc6a5f1a38d9f8e25234a91d16ab8fbbd?ds=inline;hp=62f780dcc6a5f1a38d9f8e25234a91d16ab8fbbd Makefile: fix NO_PERL bug with gitweb When the user has defined NO_PERL, we want to skip building gitweb entirely. However, the conditional to add gitweb/gitweb.cgi to OTHER_PROGRAMS was evaluated before we actually parsed the user's config.mak. This meant that "make NO_PERL=NoThanks" worked fine, but putting "NO_PERL=NoThanks" into your config.mak broke the build (it wanted gitweb.cgi to satisfy "all", but the rule to build it was conditionally ignored, so it complained). Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---