Thread (1 message) 1 message, 1 author, 2018-10-18

Re: [PATCH 1/1] subtree: make install targets depend on build targets

From: Junio C Hamano <hidden>
Date: 2018-10-18 02:05:12

Jonathan Nieder [off-list ref] writes:
quoted
-install-html: $(GIT_SUBTREE_HTML)
+install-html: html
This broke the build for me:

 make[2]: Entering directory '/build/git-2.19.1+next.20181016/contrib/subtree'
 install -m 644 html /build/git-2.19.1+next.20181016/debian/tmp/usr/share/doc/git/html
 install: cannot stat 'html': No such file or directory
 make[2]: *** [Makefile:78: install-html] Error 1

The rule says

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

and $^ substitutes to "html" after this change.  How was this patch
tested?
Gah, that was silly of me.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help