mkimage-profiles/features.in/docs/lib/30-docs.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

13 lines
251 B
Makefile

# step 4: build the distribution image
ifneq (,$(DOCS))
DOT_BASE += docs-$(DOCS)
CHROOT_PACKAGES += docs-$(DOCS)
endif
ifneq (,$(BRANDING))
CHROOT_PACKAGES_REGEXP += $(call branding,notes)
endif
CHROOT_PACKAGES_REGEXP += $(call branding,indexhtml)