mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-29 09:32:16 +00:00
Merge pull request #35 from prometheus/fix-makefile-parallelism
Fix makefile parallelism
This commit is contained in:
commit
adbefc4da3
6
Makefile
6
Makefile
@ -17,7 +17,7 @@ default: $(BINARY)
|
||||
|
||||
.deps/$(GOPKG):
|
||||
mkdir -p .deps
|
||||
curl -o .deps/$(GOPKG) -L $(GOURL)/$(GOPKG)
|
||||
curl -q -o .deps/$(GOPKG) -L $(GOURL)/$(GOPKG)
|
||||
|
||||
$(GOCC): .deps/$(GOPKG)
|
||||
tar -C .deps -xzf .deps/$(GOPKG)
|
||||
@ -27,13 +27,13 @@ $(SELFLINK):
|
||||
mkdir -p $(GOPATH)/src/github.com/prometheus
|
||||
ln -s $(CURDIR) $(SELFLINK)
|
||||
|
||||
dependencies: $(SELFLINK) web config
|
||||
dependencies: $(GOCC) $(SELFLINK) web config
|
||||
$(GO) get -d
|
||||
|
||||
config:
|
||||
$(MAKE) -C config
|
||||
|
||||
web:
|
||||
web: $(GOCC)
|
||||
$(MAKE) -C web
|
||||
|
||||
$(BINARY): $(GOCC) dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user