C API: unify makefile after rebase

This commit is contained in:
José Luis Lafuente 2024-02-25 14:41:35 +01:00 committed by José Luis Lafuente
parent c49b88b066
commit 693e8ec8fe
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A

View file

@ -65,6 +65,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
@ -130,9 +134,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'."