mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +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
|
makefiles-late += doc/internal-api/local.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ENABLE_EXTERNAL_API_DOCS), yes)
|
||||||
|
makefiles-late += doc/external-api/local.mk
|
||||||
|
endif
|
||||||
|
|
||||||
# Miscellaneous global Flags
|
# Miscellaneous global Flags
|
||||||
|
|
||||||
OPTIMIZE = 1
|
OPTIMIZE = 1
|
||||||
|
@ -130,9 +134,7 @@ internal-api-html:
|
||||||
@exit 1
|
@exit 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ENABLE_EXTERNAL_API_DOCS), yes)
|
ifneq ($(ENABLE_EXTERNAL_API_DOCS), yes)
|
||||||
$(eval $(call include-sub-makefile, doc/external-api/local.mk))
|
|
||||||
else
|
|
||||||
.PHONY: external-api-html
|
.PHONY: external-api-html
|
||||||
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'."
|
@echo "External API docs are disabled. Configure with '--enable-external-api-docs', or avoid calling 'make external-api-html'."
|
||||||
|
|
Loading…
Add table
Reference in a new issue