Files
mkcert/Makefile
2018-06-25 23:47:55 -04:00

18 lines
365 B
Makefile

IMPORT_PATH := github.com/FiloSottile/mkcert
.PHONY: mkcert
covfefe: .GOPATH/.ok
GOPATH="$(PWD)/.GOPATH" go install -v $(IMPORT_PATH)
.PHONY: clean
clean:
rm -rf bin .GOPATH
.GOPATH/.ok:
mkdir -p ".GOPATH/src/$(IMPORT_PATH)"
rmdir ".GOPATH/src/$(IMPORT_PATH)"
ln -s ../../../.. ".GOPATH/src/$(IMPORT_PATH)"
mkdir -p bin
ln -s ../bin .GOPATH/bin
touch $@