From abf14c56e09dec47d31c3699fc9040058b05f8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Sun, 25 Feb 2024 14:41:35 +0100 Subject: [PATCH] C API: unify makefile after rebase --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index fb299d631f0..56042625d66 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,10 @@ ifeq ($(ENABLE_INTERNAL_API_DOCS), yes) makefiles-late += doc/internal-api/local.mk endif +ifeq ($(ENABLE_EXTERNAL_API_DOCS), yes) +makefiles-late += doc/external-api/local.mk +endif + # Miscellaneous global Flags OPTIMIZE = 1 @@ -128,9 +132,7 @@ internal-api-html: @exit 1 endif -ifeq ($(ENABLE_EXTERNAL_API_DOCS), yes) -$(eval $(call include-sub-makefile, doc/external-api/local.mk)) -else +ifneq ($(ENABLE_EXTERNAL_API_DOCS), yes) .PHONY: external-api-html external-api-html: @echo "External API docs are disabled. Configure with '--enable-external-api-docs', or avoid calling 'make external-api-html'."