mkimage-profiles/features.in/docs/config.mk
Michael Shigorin 40620fa18d docs: introduced license support
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.
2016-04-08 14:50:31 +03:00

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; @: