From 5686d7b43927b559634ad5359ce709866f399987 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Beno=C3=AEt=20Knecht?= <benoit.knecht@fsfe.org>
Date: Thu, 24 Oct 2019 13:37:11 +0200
Subject: [PATCH] Makefile: Fix manifests target dependency (#285)

Since 1664600, manifests are built using `examples/kustomize.jsonnet`
instead of `example.jsonnet`.

This commit updates the dependencies in the `manifests` target to
reflect that change.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 5f2eaa4e..994fa5ae 100644
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,9 @@ generate: manifests **.md
 **.md: $(shell find examples) build.sh example.jsonnet
 	$(EMBEDMD_BINARY) -w `find . -name "*.md" | grep -v vendor`
 
-manifests: vendor example.jsonnet build.sh
+manifests: examples/kustomize.jsonnet vendor build.sh
 	rm -rf manifests
-	./build.sh ./examples/kustomize.jsonnet
+	./build.sh $<
 
 vendor: jsonnetfile.json jsonnetfile.lock.json
 	rm -rf vendor
-- 
GitLab