Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git/Documentation/Makefile - "install" doesn't depend on "all"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:07
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

Possibly related (same subject, not in this thread)

merlyn@stonehenge.com (Randal L. Schwartz) writes:
So, apparently, the manpages don't properly depend on the sources,
or "install" doesn't properly depend on "all", or both.

Therefore, broken.
Thanks for the patch.

------------
git diff
diff --git a/Documentation/Makefile b/Documentation/Makefile
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -44,7 +44,7 @@ man: man1 man7
 man1: $(DOC_MAN1)
 man7: $(DOC_MAN7)
 
-install:
+install: all
 	$(INSTALL) -d -m755 $(DESTDIR)/$(man1) $(DESTDIR)/$(man7)
 	$(INSTALL) $(DOC_MAN1) $(DESTDIR)/$(man1)
 	$(INSTALL) $(DOC_MAN7) $(DESTDIR)/$(man7)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help