mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
C API: unify makefile after rebase
This commit is contained in:
parent
c49b88b066
commit
693e8ec8fe
1 changed files with 5 additions and 3 deletions
8
Makefile
8
Makefile
|
@ -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'."
|
||||
|
|
Loading…
Reference in a new issue