git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Christian Hesse <list@eworm.de>
Date
Oct 18, 2018, 08:05 UTC
Message-ID
<20181018100504.053e4827@leda>
In-Reply-To
<xmqqftx4vwe5.fsf@gitster-ct.c.googlers.com>
Junio C Hamano <gitster@pobox.com> on Thu, 2018/10/18 11:09:
Show 31 quoted lines
> Jonathan Nieder <jrnieder@gmail.com> writes:
> 
> > The rule says
> >
> >  install-html: html
> > 	$(INSTALL) -d -m 755 $(DESTDIR)$(htmldir)
> > 	$(INSTALL) -m 644 $^ $(DESTDIR)$(htmldir)
> >
> > and $^ substitutes to "html" after this change.  
> 
> Sorry about that.
> 
> From: Junio C Hamano <gitster@pobox.com>
> Date: Thu, 18 Oct 2018 11:07:17 +0900
> Subject: [PATCH] Revert "subtree: make install targets depend on build
> targets"
> 
> This reverts commit 744f7c4c314dc0e7816ac05520e8358c8318187a.
> 
> 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.
>
> [...]
>
> @@ -98,4 +98,4 @@ clean:
>  	$(RM) $(GIT_SUBTREE)
>  	$(RM) *.xml *.html *.1
>  
> -.PHONY: FORCE man html install-man install-html
> +.PHONY: FORCE
We could keep the phony part at least...
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
Previous: Junio C Hamano
Message 12 of 12 in “subtree: add build targets 'man' and 'html'”
  1. 1/1 subtree: add build targets 'man' and 'html'Christian Hesse, Oct 7, 2018
  2. Junio C HamanoOct 10, 2018
  3. Johannes SchindelinOct 12, 2018
  4. Christian HesseOct 15, 2018
  5. Junio C HamanoOct 16, 2018
  6. Junio C HamanoOct 16, 2018
  7. 1/1 subtree: make install targets depend on build targetsChristian Hesse, Oct 16, 2018
  8. Junio C HamanoOct 16, 2018
  9. Jonathan NiederOct 17, 2018
  10. Junio C HamanoOct 18, 2018
  11. Junio C HamanoOct 18, 2018
  12. Christian HesseOct 18, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.