Revert "subtree: make install targets depend on build targets"
This reverts commit 744f7c4c314dc0e7816ac05520e8358c8318187a. These targets do depend on the fact that each prereq is explicitly listed via their use of $^, which I failed to notice, and broke the build.
Junio C Hamano committed
Oct 18, 2018 at 11:07 UTC
0df8e6d5a534f2e1d445dd6d5101fe1fd5f9bded
1 file changed
+3
-3
contrib/subtree/Makefile
+3
-3
@@ -69,11 +69,11 @@ install: $(GIT_SUBTREE)
69
70
install-doc: install-man install-html
71
72
-install-man: man
72
+install-man: $(GIT_SUBTREE_DOC)
73
$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
74
$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
75
76
-install-html: html
76
+install-html: $(GIT_SUBTREE_HTML)
77
$(INSTALL) -d -m 755 $(DESTDIR)$(htmldir)
78
$(INSTALL) -m 644 $^ $(DESTDIR)$(htmldir)
79
@@ -98,4 +98,4 @@ clean:
98
$(RM) $(GIT_SUBTREE)
99
$(RM) *.xml *.html *.1
100
101
-.PHONY: FORCE man html install-man install-html
101
+.PHONY: FORCE