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

Re: [PATCH] make: add install-strip target

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 17, 2021, 21:28 UTC
Message-ID
<nycvar.QRO.7.76.6.2108172327290.55@tvgsbejvaqbjf.bet>
In-Reply-To
<20210817110728.55842-1-bagasdotme@gmail.com>
Hi Bagas,
On Tue, 17 Aug 2021, Bagas Sanjaya wrote:
Show 9 quoted lines
> diff --git a/Makefile b/Makefile
> index 9573190f1d..8c4633ba8e 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -3093,6 +3093,9 @@ endif
>  	done && \
>  	./check_bindir "z$$bindir" "z$$execdir" "$$bindir/git-add$X"
>
> +install-strip: all strip

Would those `all` and `strip` targets interfere with one another if `make -j2` was called? If not, wouldn't it be sufficient to let `install-strip` depend on `strip` alone?

Ciao, Dscho

Show 20 quoted lines
> +	$(MAKE) install
> +
>  .PHONY: install-gitweb install-doc install-man install-man-perl install-html install-info install-pdf
>  .PHONY: quick-install-doc quick-install-man quick-install-html
>  install-gitweb:
> @@ -3265,7 +3268,7 @@ ifdef MSVC
>  	$(RM) compat/vcbuild/MSVC-DEFS-GEN
>  endif
>
> -.PHONY: all install profile-clean cocciclean clean strip
> +.PHONY: all install install-strip profile-clean cocciclean clean strip
>  .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell
>  .PHONY: FORCE cscope
>
>
> base-commit: 225bc32a989d7a22fa6addafd4ce7dcd04675dbf
> --
> 2.25.1
>
>
Previous: Bagas SanjayaNext: Eric Sunshine
Message 2 of 9 in “make: add install-strip target”
  1. make: add install-strip targetBagas Sanjaya, Aug 17, 2021
  2. Johannes SchindelinAug 17, 2021
  3. Eric SunshineAug 17, 2021
  4. Johannes SchindelinAug 18, 2021
  5. Junio C HamanoAug 19, 2021
  6. Johannes SchindelinAug 24, 2021
  7. Junio C HamanoAug 17, 2021
  8. Johannes SchindelinAug 18, 2021
  9. Junio C HamanoAug 19, 2021

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.