提交 7f80485d 作者: Jakub Sztandera

mk: remove gx from Makefiles

License: MIT
Signed-off-by: 's avatarJakub Sztandera <kubuxu@protonmail.ch>
上级 16cfe4a5
......@@ -12,7 +12,6 @@ include mk/git.mk # has to be before tarball.mk
include mk/tarball.mk
include mk/util.mk
include mk/golang.mk
include mk/gx.mk
# -------------------- #
# extra properties #
......
......@@ -2,9 +2,6 @@ include mk/header.mk
dist_root_$(d)="/ipfs/QmPrXH9jRVwvd7r5MC5e6nV4uauQGzLk1i2647Ye9Vbbwe"
$(d)/gx: $(d)/gx-v0.14.0
$(d)/gx-go: $(d)/gx-go-v1.9.0
TGTS_$(d) := $(d)/gx $(d)/gx-go
DISTCLEAN += $(wildcard $(d)/gx-v*) $(wildcard $(d)/gx-go-v*) $(d)/tmp
......@@ -18,13 +15,5 @@ else
ln -s $(notdir $^) $@
endif
bin/gx-v%:
@echo "installing gx $(@:bin/gx-%=%)"
bin/dist_get $(dist_root_bin) gx $@ $(@:bin/gx-%=%)
bin/gx-go-v%:
@echo "installing gx-go $(@:bin/gx-go-%=%)"
@bin/dist_get $(dist_root_bin) gx-go $@ $(@:bin/gx-go-%=%)
CLEAN += $(TGTS_$(d))
include mk/footer.mk
gx-path = gx/ipfs/$(shell gx deps find $(1))/$(1)
gx-deps:
gx install --global
.PHONY: gx-deps
ifneq ($(IPFS_GX_USE_GLOBAL),1)
gx-deps: bin/gx bin/gx-go
endif
.PHONY: gx-deps
ifeq ($(tarball-is),0)
DEPS_GO += gx-deps
endif
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论