From 0d9d135287ba8a34f76c49f9f626a06788e8edd9 Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Mon, 3 Jun 2024 12:51:38 +0200
Subject: [PATCH] MAINT: Check for doxygen first.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 9a4abd9..365ead3 100644
--- a/Makefile
+++ b/Makefile
@@ -80,6 +80,7 @@ conan: conan-install-deps conan-create
 .PHONY: conan
 
 doc:
+	@doxygen --version || ( echo "Doxygen not found.  Please install Doxygen first." ; exit 1 )
 	mkdir -p build && cd build && conan install .. --build=missing -s $(CONAN_SETTINGS) \
 	  && cmake .. && cmake --build . --target doc-sphinx \
 	  && echo "The documentation starts at build/doc/sphinx_out/index.html ."
-- 
GitLab