git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] make: install stripped Git
@ 2021-08-26 11:38 Bagas Sanjaya
  2021-08-26 11:38 ` [PATCH 1/2] make: add install-stripped target Bagas Sanjaya
  2021-08-26 11:38 ` [PATCH 2/2] make: delete strip target Bagas Sanjaya
  0 siblings, 2 replies; 8+ messages in thread
From: Bagas Sanjaya @ 2021-08-26 11:38 UTC (permalink / raw)
  To: git
  Cc: Junio C Hamano, felipe.contreras,
	Ævar Arnfjörð Bjarmason, Emily Shaffer,
	Đoàn Trần Công Danh, Eric Sunshine,
	Johannes Schindelin, Bagas Sanjaya

This two-patch series adds convenient make target to install Git with
stripped executables (programs). The first patch adds such target
(called install-stripped), while the second one deletes the
now-redundant strip target.

Unlike previous attempts [1] and [2], stripping is done after installing
Git into installation prefix, without touching working directory where
Git is compiled. The advantage of it is unstripped programs can be
installed at the same prefix (thus overwriting already installed
stripped ones), particularly useful for debugging and development
purposes.

[1]:
https://lore.kernel.org/git/20210820105052.30631-1-bagasdotme@gmail.com/
[2]:
https://lore.kernel.org/git/20210817110728.55842-1-bagasdotme@gmail.com/

Bagas Sanjaya (2):
  make: add install-stripped target
  make: delete strip target

 Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


base-commit: c4203212e360b25a1c69467b5a8437d45a373cac
-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-27 12:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-26 11:38 [PATCH 0/2] make: install stripped Git Bagas Sanjaya
2021-08-26 11:38 ` [PATCH 1/2] make: add install-stripped target Bagas Sanjaya
2021-08-26 20:08   ` Junio C Hamano
2021-08-27  7:57     ` Bagas Sanjaya
2021-08-27 12:41       ` Đoàn Trần Công Danh
2021-08-26 11:38 ` [PATCH 2/2] make: delete strip target Bagas Sanjaya
2021-08-26 19:36   ` Ævar Arnfjörð Bjarmason
2021-08-26 20:10   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).