mirror of
https://github.com/diamondburned/cchat-gtk.git
synced 2024-12-22 04:06:55 +00:00
Allow using a different binary for strip
This commit is contained in:
parent
52655c2859
commit
6513b377ab
4
Makefile
4
Makefile
|
@ -1,5 +1,7 @@
|
||||||
BIN ?= cchat-gtk
|
BIN ?= cchat-gtk
|
||||||
|
|
||||||
GO ?= go
|
GO ?= go
|
||||||
|
STRIP ?= strip
|
||||||
|
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
BINDIR ?= $(PREFIX)/bin
|
BINDIR ?= $(PREFIX)/bin
|
||||||
|
@ -7,7 +9,7 @@ DATADIR ?= $(PREFIX)/share
|
||||||
|
|
||||||
cchat-gtk:
|
cchat-gtk:
|
||||||
$(GO) build -v -o bin/$(BIN)
|
$(GO) build -v -o bin/$(BIN)
|
||||||
@strip bin/$(BIN)
|
@$(STRIP) bin/$(BIN)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
install -Dm775 bin/$(BIN) $(DESTDIR)$(BINDIR)/$(BIN)
|
install -Dm775 bin/$(BIN) $(DESTDIR)$(BINDIR)/$(BIN)
|
||||||
|
|
Loading…
Reference in a new issue