mk: remove gx from Makefiles

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera 2019-03-03 19:44:04 +01:00
parent 16cfe4a5ea
commit 7f80485d93
3 changed files with 0 additions and 26 deletions

View File

@ -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 #

View File

@ -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

View File

@ -1,14 +0,0 @@
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