mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
C API: fix docs build after rebase
This commit is contained in:
parent
92dacec0e4
commit
24604d024a
7 changed files with 23 additions and 18 deletions
|
@ -1,19 +1,7 @@
|
|||
.PHONY: external-api-html
|
||||
|
||||
ifeq ($(external_api_docs), yes)
|
||||
|
||||
$(docdir)/external-api/html/index.html $(docdir)/external-api/latex: $(d)/doxygen.cfg
|
||||
mkdir -p $(docdir)/external-api
|
||||
{ cat $< ; echo "OUTPUT_DIRECTORY=$(docdir)/external-api" ; } | doxygen -
|
||||
|
||||
# Generate the HTML API docs for Nix's unstable external interfaces.
|
||||
# Generate the HTML API docs for Nix's unstable C bindings
|
||||
.PHONY: external-api-html
|
||||
external-api-html: $(docdir)/external-api/html/index.html
|
||||
|
||||
else
|
||||
|
||||
# Make a nicer error message
|
||||
external-api-html:
|
||||
@echo "External API docs are disabled. Configure with '--enable-external-api-docs', or avoid calling 'make external-api-html'."
|
||||
@exit 1
|
||||
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue