Subject: [PATCH] libsecret/Makefile: add install target

From: "M Hickford via GitGitGadget" <[email-masked]>
Date: Thu, 11 Sep 2025 20:38:06 +0000

From: M Hickford <[email-masked]>

Signed-off-by: M Hickford <[email-masked]>
---
    libsecret/Makefile: add install target

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1970%2Fhickford%2Flibsecret-makefile-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1970/hickford/libsecret-makefile-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1970

 contrib/credential/libsecret/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/credential/libsecret/Makefile b/contrib/credential/libsecret/Makefile
index 97ce9c92fb..6fe70065ab 100644
--- a/contrib/credential/libsecret/Makefile
+++ b/contrib/credential/libsecret/Makefile
@@ -26,3 +26,7 @@ $(MAIN): $(OBJS)
 
 clean:
 	@$(RM) $(MAIN) $(OBJS)
+
+install: $(MAIN)
+	$(INSTALL) -d -m 755 $(DESTDIR)$(gitexecdir)
+	$(INSTALL) -m 755 $(MAIN) $(DESTDIR)$(gitexecdir)

base-commit: 4975ec3473b4bc61bc8a3df1ef29d0b7e7959e87
-- 
gitgitgadget