build: cleanup using $^
There's no need to list again the prerequisites. No functional changes. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
May 24, 2013 at 21:41 UTC
654f23f57c812c2fff8cad51322bac71b1553239
1 file changed
+4
-4
Makefile
+4
-4
@@ -502,11 +502,11 @@ build-python-script: $(SCRIPT_PYTHON_GEN)
502
503
.PHONY: install-perl-script install-sh-script install-python-script
504
install-sh-script: $(SCRIPT_SH_GEN)
505
- $(INSTALL) $(SCRIPT_SH_GEN) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
505
+ $(INSTALL) $^ '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
506
install-perl-script: $(SCRIPT_PERL_GEN)
507
- $(INSTALL) $(SCRIPT_PERL_GEN) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
507
+ $(INSTALL) $^ '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
508
install-python-script: $(SCRIPT_PYTHON_GEN)
509
- $(INSTALL) $(SCRIPT_PYTHON_GEN) '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
509
+ $(INSTALL) $^ '$(DESTDIR_SQ)$(gitexec_instdir_SQ)'
510
511
.PHONY: clean-perl-script clean-sh-script clean-python-script
512
clean-sh-script:
@@ -1645,7 +1645,7 @@ please_set_SHELL_PATH_to_a_more_modern_shell:
1645
shell_compatibility_test: please_set_SHELL_PATH_to_a_more_modern_shell
1646
1647
strip: $(PROGRAMS) git$X
1648
- $(STRIP) $(STRIP_OPTS) $(PROGRAMS) git$X
1648
+ $(STRIP) $(STRIP_OPTS) $^
1649
1650
### Target-specific flags and dependencies
1651