9e80387420
...to reduce the divergence with the rest of related variables; these installer profiles affect the default checkbox states.
22 lines
526 B
Makefile
22 lines
526 B
Makefile
# step 3: copy package profiles referenced in distro configuration
|
|
# (and only those!) over to $(BUILDDIR)
|
|
|
|
ifndef BUILDDIR
|
|
$(error BUILDDIR not defined)
|
|
endif
|
|
|
|
include $(BUILDDIR)/distcfg.mk
|
|
SUFFIX := pkg/profiles
|
|
TARGET := $(BUILDDIR)/$(SUFFIX)
|
|
|
|
all: $(GLOBAL_DEBUG)
|
|
@if [ -n "$(THE_PROFILES)" ]; then \
|
|
mkdir -p $(TARGET) && \
|
|
cp -at $(TARGET) -- \
|
|
$(addsuffix .directory,$(THE_PROFILES)); \
|
|
mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"; \
|
|
fi
|
|
|
|
debug:
|
|
@echo "** THE_PROFILES: $(THE_PROFILES)"
|