minio/Makefile

23 lines
435 B
Makefile
Raw Normal View History

GOPATH := $(CURDIR)/tmp/gopath
2014-11-01 15:20:59 -07:00
all: build copy_bin
copy_bin:
cp tmp/gopath/bin/* bin/
stage_build:
mkdir -p $(GOPATH)
mkdir -p bin
mkdir -p tmp/gopath/src/github.com/minios/minios
rsync -a . tmp/gopath/src/github.com/minios/minios/
rsync -a third_party/* tmp/gopath
build: stage_build
go install github.com/minios/minios/minios
go install github.com/minios/minios/miniosd
cp tmp/gopath/bin/* bin/
2014-11-01 04:02:47 -04:00
clean:
rm -rf tmp bin