Skip to content

Commit 0df8e6d

Browse files
committed
Revert "subtree: make install targets depend on build targets"
This reverts commit 744f7c4. 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.
1 parent 744f7c4 commit 0df8e6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/subtree/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ install: $(GIT_SUBTREE)
6969

7070
install-doc: install-man install-html
7171

72-
install-man: man
72+
install-man: $(GIT_SUBTREE_DOC)
7373
$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
7474
$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
7575

76-
install-html: html
76+
install-html: $(GIT_SUBTREE_HTML)
7777
$(INSTALL) -d -m 755 $(DESTDIR)$(htmldir)
7878
$(INSTALL) -m 644 $^ $(DESTDIR)$(htmldir)
7979

@@ -98,4 +98,4 @@ clean:
9898
$(RM) $(GIT_SUBTREE)
9999
$(RM) *.xml *.html *.1
100100

101-
.PHONY: FORCE man html install-man install-html
101+
.PHONY: FORCE

0 commit comments

Comments
 (0)