about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDrew DeVault <drew@ddevault.org>2025-03-21 10:40:02 +0100
committerAlexey Yerin <yyp@disroot.org>2025-03-21 14:18:01 +0300
commit1f617481fc6211c21cb6c22712c3c933b4426271 (patch)
tree3bf3d74ba1297b7e82b56df7077d8d94a483c139
parent1e85675b652b4e133a98841d75bb7fe7e00058d5 (diff)
Makefile: install hare-gi binary
Signed-off-by: Drew DeVault <drew@ddevault.org>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e73e1c..c29553b 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ all: hare-gi
 
 DESTDIR =
 PREFIX = /usr/local
+BINDIR = $(PREFIX)/bin
 SRCDIR = $(PREFIX)/src
 HARESRCDIR = $(SRCDIR)/hare
 THIRDPARTYDIR = $(HARESRCDIR)/third-party
@@ -38,7 +39,8 @@ hare-gi:
 	hare build -o $@ cmd/hare-gi/
 .PHONY: hare-gi
 
-install: install3 install4
+install: hare-gi install3 install4
+	install -Dm755 hare-gi "$(DESTDIR)$(BINDIR)"/hare-gi
 
 install3:
 	@for mod in $(MODULES_GTK3); do \