1
0
Fork 0
mirror of https://github.com/diamondburned/cchat-gtk.git synced 2024-12-14 00:24:57 +00:00

Allow using a different binary for strip

This commit is contained in:
yemou 2021-08-12 03:19:33 -04:00 committed by diamondburned
parent 52655c2859
commit 6513b377ab

View file

@ -1,5 +1,7 @@
BIN ?= cchat-gtk
GO ?= go
STRIP ?= strip
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
@ -7,7 +9,7 @@ DATADIR ?= $(PREFIX)/share
cchat-gtk:
$(GO) build -v -o bin/$(BIN)
@strip bin/$(BIN)
@$(STRIP) bin/$(BIN)
install:
install -Dm775 bin/$(BIN) $(DESTDIR)$(BINDIR)/$(BIN)
@ -22,4 +24,4 @@ uninstall:
clean:
rm -rf bin/
.PHONY: cchat-gtk
.PHONY: cchat-gtk