Skip to content

Commit 654f23f

Browse files
felipecgitster
authored andcommitted
build: cleanup using $^
There's no need to list again the prerequisites. No functional changes. Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1b0a0f8 commit 654f23f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -502,11 +502,11 @@ build-python-script: $(SCRIPT_PYTHON_GEN)
502502

503503
.PHONY: install-perl-script install-sh-script install-python-script
504504
install-sh-script: $(SCRIPT_SH_GEN)
505-
$(INSTALL) $(SCRIPT_SH_GEN) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
505+
$(INSTALL) $^ '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
506506
install-perl-script: $(SCRIPT_PERL_GEN)
507-
$(INSTALL) $(SCRIPT_PERL_GEN) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
507+
$(INSTALL) $^ '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
508508
install-python-script: $(SCRIPT_PYTHON_GEN)
509-
$(INSTALL) $(SCRIPT_PYTHON_GEN) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
509+
$(INSTALL) $^ '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
510510

511511
.PHONY: clean-perl-script clean-sh-script clean-python-script
512512
clean-sh-script:
@@ -1645,7 +1645,7 @@ please_set_SHELL_PATH_to_a_more_modern_shell:
16451645
shell_compatibility_test: please_set_SHELL_PATH_to_a_more_modern_shell
16461646

16471647
strip: $(PROGRAMS) git$X
1648-
$(STRIP) $(STRIP_OPTS) $(PROGRAMS) git$X
1648+
$(STRIP) $(STRIP_OPTS) $^
16491649

16501650
### Target-specific flags and dependencies
16511651

0 commit comments

Comments
 (0)