9d77c2d4b3
This one has been brewin' for quite a while but has been completed finally; some tweaks sure can come in later but it's working. Please note that it's rather needed for "proper" distros with specific branding and docs packages prepared for those; one should use l10n feature most likely too.
19 lines
420 B
Makefile
19 lines
420 B
Makefile
# 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)
|
|
@$(call add,THE_PACKAGES,docs-$(DOCS))
|
|
|
|
use/docs/full: use/docs/indexhtml use/docs/manual; @:
|