File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,7 @@ nofuse: GOTAGS += nofuse
99
99
nofuse : build
100
100
.PHONY : nofuse
101
101
102
- install : $$(DEPS_GO )
103
- go install $(go-flags-with-tags ) ./cmd/ipfs
102
+ install : cmd/ipfs-install
104
103
.PHONY : install
105
104
106
105
install_unsupported :
Original file line number Diff line number Diff line change @@ -12,12 +12,20 @@ PATH := $(realpath $(d)):$(PATH)
12
12
# DEPS_OO_$(d) += merkledag/pb/merkledag.pb.go namesys/pb/namesys.pb.go
13
13
# DEPS_OO_$(d) += pin/internal/pb/header.pb.go unixfs/pb/unixfs.pb.go
14
14
15
- $(IPFS_BIN_$(d ) ) : GOFLAGS += -ldflags="-X "github.com/ipfs/go-ipfs/repo/config".CurrentCommit=$(shell git rev-parse --short HEAD) "
15
+ $(d)_flags =-ldflags="-X "github.com/ipfs/go-ipfs/repo/config".CurrentCommit=$(shell git rev-parse --short HEAD) "
16
+
17
+ $(IPFS_BIN_$(d ) ) : GOFLAGS += $(cmd/ipfs_flags )
16
18
17
19
# uses second expansion to collect all $(DEPS_GO)
18
20
$(IPFS_BIN_$(d ) ) : $(d ) $$(DEPS_GO ) ALWAYS # | $(DEPS_OO_$(d))
19
21
$(go-build )
20
22
23
+
24
+ $(d ) -install : GOFLAGS += $(cmd/ipfs_flags )
25
+ $(d ) -install :
26
+ go install $(go-flags-with-tags ) ./cmd/ipfs
27
+ .PHONY : $(d ) -install
28
+
21
29
COVER_BIN_$(d) := $(d ) /ipfs-test-cover
22
30
CLEAN += $(COVER_BIN_$(d ) )
23
31
You can’t perform that action at this time.
0 commit comments