You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
510 B
21 lines
510 B
2 months ago
|
# Makefile for the UCW-JSON documentation
|
||
|
|
||
|
DIRS+=ucw-json/doc
|
||
|
|
||
|
JSON_DOCS=json index
|
||
|
JSON_DOCS_HTML=$(addprefix $(o)/ucw-json/doc/,$(addsuffix .html,$(JSON_DOCS)))
|
||
|
|
||
|
DOCS+=$(JSON_DOCS_HTML)
|
||
|
DOC_MODULES+=ucw-json
|
||
|
$(JSON_DOCS_HTML): DOC_MODULE=ucw-json
|
||
|
|
||
|
ifdef CONFIG_DOC
|
||
|
INSTALL_TARGETS+=install-libucw-json-docs
|
||
|
endif
|
||
|
|
||
|
.PHONY: install-libucw-json-docs
|
||
|
|
||
|
install-libucw-json-docs: $(JSON_DOCS_HTML)
|
||
|
install -d -m 755 $(DESTDIR)$(INSTALL_DOC_DIR)/ucw-json/
|
||
|
install -m 644 $^ $(DESTDIR)$(INSTALL_DOC_DIR)/ucw-json/
|