Browse Source

Revert "subtree: make install targets depend on build targets"

This reverts commit 744f7c4c31.

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.
maint
Junio C Hamano 6 years ago
parent
commit
0df8e6d5a5
  1. 6
      contrib/subtree/Makefile

6
contrib/subtree/Makefile

@ -69,11 +69,11 @@ install: $(GIT_SUBTREE) @@ -69,11 +69,11 @@ install: $(GIT_SUBTREE)

install-doc: install-man install-html

install-man: man
install-man: $(GIT_SUBTREE_DOC)
$(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
$(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)

install-html: html
install-html: $(GIT_SUBTREE_HTML)
$(INSTALL) -d -m 755 $(DESTDIR)$(htmldir)
$(INSTALL) -m 644 $^ $(DESTDIR)$(htmldir)

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

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

Loading…
Cancel
Save