From a283595798962cef94e2fc953af61584106ff5aa Mon Sep 17 00:00:00 2001
From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com>
Date: Wed, 1 Nov 2023 13:29:40 +1300
Subject: [PATCH] docs: call make resources before make all

Should fix the issue where `make all` in the images directory can't wildcard files that don't exist yet.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 0b8cb96dd..8418aefde 100644
--- a/Makefile
+++ b/Makefile
@@ -971,6 +971,7 @@ docs/source/cmd/abc.rst: $(TARGETS) $(EXTRA_TARGETS)
 
 PHONY: docs/gen_images docs/guidelines docs/usage
 docs/gen_images:
+	$(Q) $(MAKE) -C docs/source/_images resources
 	$(Q) $(MAKE) -C docs/source/_images all
 
 DOCS_GUIDELINE_FILES := GettingStarted CodingStyle