diff --git a/Makefile b/Makefile deleted file mode 100644 index c1fefaef3..000000000 --- a/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -SHELL := /bin/bash -euo pipefail - -config_file_name = kustomize.yaml -example_config = docs/$(config_file_name) - -.PHONY: all -all: docs - -# In a branch, run 'make docs' to update docs with -# generated code, then merge it to master. -docs: $(example_config) - -# Use kustomize to create the standard kustomize configuration -# file that appears in the website's documentation. -$(example_config): /tmp/bin/kustomize - rm -f TMP - echo "# This is a generated example; do not edit. Rebuild with 'make docs'." >> TMP - echo " " >> TMP - /tmp/bin/kustomize init - cat $(config_file_name) >> TMP - mv TMP $(example_config) - rm $(config_file_name) - -/tmp/bin/kustomize: - go build -o /tmp/bin/kustomize kustomize.go diff --git a/docs/kustomize.yaml b/docs/kustomize.yaml index 1f5fb695e..9252a37b2 100644 --- a/docs/kustomize.yaml +++ b/docs/kustomize.yaml @@ -1,4 +1,3 @@ -# This is a generated example; do not edit. Rebuild with 'make docs'. kustomizationName: helloworld description: helloworld does useful stuff. namePrefix: some-prefix