40620fa18d
use/docs/license will copy the texts contained in branding package ("notes" one) over to the image's rootdir so these can be read with ease; otherwise one has to look up the right package at best (or unpack squashfs, no user can be really expected to do that just to *read* a *license*). This was originally profiles/scripts.d/01-copy-license script from m-p-d; got cut down heavily.
22 lines
511 B
Makefile
22 lines
511 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/license: use/docs use/branding
|
|
@$(call add,THE_BRANDING,notes)
|
|
|
|
use/docs/full: use/docs/indexhtml use/docs/manual use/docs/license; @:
|