Skip to content

Commit 7563d61

Browse files
authored
Update GNUmakefile
1 parent 24a07f0 commit 7563d61

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

GNUmakefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,13 @@ vet:
5959
exit 1; \
6060
fi
6161

62-
docs:
63-
@echo "==> Generating Provider Documentation..."
62+
docs-prepare:
63+
@echo "==> Setting up docs..."
6464
which tfplugindocs || go get github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@${TFPLUGINDOCS_VERSION}
65+
66+
docs: docs-prepare
67+
@echo "==> Generating Provider Documentation..."
6568
tfplugindocs generate
6669

67-
.PHONY: build test testacc vet fmt fmtcheck lint tools test-compile docs
70+
.PHONY: build test testacc vet fmt fmtcheck lint tools test-compile docs docs-prepare
71+

0 commit comments

Comments
 (0)