fix makefile #2
This commit is contained in:
parent
db473c5580
commit
897e9772f3
11
Makefile
11
Makefile
@ -1,6 +1,7 @@
|
|||||||
.DEFAULT_GOAL := build
|
all:
|
||||||
build:
|
true
|
||||||
go build -ldflags="-s -w" -o pikman
|
|
||||||
install:
|
+install:
|
||||||
mkdir -p $(DESTDIR)/usr/bin/
|
mkdir -p $(DESTDIR)/usr/bin/
|
||||||
install -m 755 pikman $(DESTDIR)/usr/bin/
|
go build -ldflags="-s -w" -o $(DESTDIR)/usr/bin/pikman
|
||||||
|
chmod 755 $(DESTDIR)/usr/bin/pikman
|
||||||
|
Loading…
Reference in New Issue
Block a user