From: Jonathan Nieder Date: Tue, 18 Nov 2014 18:38:38 +0000 (-0800) Subject: Makefile: simplify by using SCRIPT_{PERL,SH}_GEN macros X-Git-Tag: v2.2.2~9^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/64c07db9ad98fdeb43e739bdabd4cc423b10c272?ds=inline;hp=64c07db9ad98fdeb43e739bdabd4cc423b10c272 Makefile: simplify by using SCRIPT_{PERL,SH}_GEN macros SCRIPT_PERL_GEN is defined as $(patsubst %.perl,%,$(SCRIPT_PERL)) for use in targets like build-perl-script used by makefiles in subdirectories that override SCRIPT_PERL (see v1.8.2-rc0~17^2, "git-remote-mediawiki: use toplevel's Makefile", 2013-02-08). The same expression is used in the rules that actually write the generated perl scripts, and since these rules were introduced before SCRIPT_PERL_GEN, they use the longhand instead of that macro. Use the macro to make reading easier. Likewise for SCRIPT_SH_GEN. The Python rules already got the same simplification in v1.8.4-rc0~162^2~8 (2013-05-24). Signed-off-by: Jonathan Nieder Reviewed-by: Jeff King Signed-off-by: Junio C Hamano ---