]> git.ipfire.org Git - thirdparty/git.git/commitdiff
subtree: make install targets depend on build targets
authorChristian Hesse <mail@eworm.de>
Tue, 16 Oct 2018 07:56:24 +0000 (09:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Oct 2018 08:00:42 +0000 (17:00 +0900)
Now that we have build targets let the install targets depend on them.
Also make the targets phony.

Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/subtree/Makefile

index 6906aae44147810ec2cf7560eb2cae3ef56bb454..4a10a020a06b940489530986cfad87c742a4521b 100644 (file)
@@ -69,11 +69,11 @@ install: $(GIT_SUBTREE)
 
 install-doc: install-man install-html
 
-install-man: $(GIT_SUBTREE_DOC)
+install-man: man
        $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir)
        $(INSTALL) -m 644 $^ $(DESTDIR)$(man1dir)
 
-install-html: $(GIT_SUBTREE_HTML)
+install-html: html
        $(INSTALL) -d -m 755 $(DESTDIR)$(htmldir)
        $(INSTALL) -m 644 $^ $(DESTDIR)$(htmldir)
 
@@ -98,4 +98,4 @@ clean:
        $(RM) $(GIT_SUBTREE)
        $(RM) *.xml *.html *.1
 
-.PHONY: FORCE
+.PHONY: FORCE man html install-man install-html