Skip to content

Commit c7a8e9d

Browse files
author
Sean Sain
committed
rename DIR -> PLUGIN_DIR
1 parent 59d100a commit c7a8e9d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

GNUmakefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ TEST?=$$(go list ./... |grep -v 'vendor')
22
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
33
WEBSITE_REPO=github.com/hashicorp/terraform-website
44
PKG_NAME=sumologic
5-
DIR=~/.terraform.d/plugins
5+
PLUGIN_DIR=~/.terraform.d/plugins
66

77
default: build
88

@@ -14,11 +14,11 @@ build: fmtcheck
1414
go install
1515

1616
install: fmtcheck
17-
mkdir -vp $(DIR)
18-
go build -o $(DIR)/terraform-provider-sumologic
17+
mkdir -vp $(PLUGIN_DIR)
18+
go build -o $(PLUGIN_DIR)/terraform-provider-sumologic
1919

2020
uninstall:
21-
@rm -vf $(DIR)/terraform-provider-sumologic
21+
@rm -vf $(PLUGIN_DIR)/terraform-provider-sumologic
2222

2323
errcheck:
2424
@sh -c "'$(CURDIR)/scripts/errcheck.sh'"
@@ -68,4 +68,4 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
6868
endif
6969
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)
7070

71-
.PHONY: build test testacc vet fmt fmtcheck errcheck lint tools test-compile website website-lint website-test
71+
.PHONY: build install uninstall test testacc vet fmt fmtcheck errcheck lint tools test-compile website website-lint website-test

0 commit comments

Comments
 (0)