config.mk 603 Bytes
Newer Older
Michael Shigorin's avatar
Michael Shigorin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# copy the packaged docs to image root
# packaged documentation sources:
# 1) branding-*-indexhtml
# 2) docs-* (should be installed elsewhere)

+docs: use/docs; @:

use/docs:
	@$(call add_feature)

use/docs/indexhtml: use/docs use/branding
	@$(call add,THE_BRANDING,indexhtml)

use/docs/manual: use/docs
	@$(call xport,DOCS)
Michael Shigorin's avatar
Michael Shigorin committed
16
	@$(call add,THE_PACKAGES,docs-$$(DOCS))
Michael Shigorin's avatar
Michael Shigorin committed
17

18
ifneq (,$(filter-out e2k%,$(ARCH)))
19 20
use/docs/license: use/docs use/branding/notes
	@$(call set,META_LICENSE_FILE,license.all.html)
21 22 23
else
use/docs/license:; @:
endif
24 25

use/docs/full: use/docs/indexhtml use/docs/manual use/docs/license; @: