mkimage-profiles/pkg.in/Makefile
Anton Midyukov 41b065336f check conditions of make for equality of variables with an empty value
check conditions of  make  for equality of variables with an empty value
instead of check definition.
A defined but empty variable under all these conditions results errors.
2022-12-30 19:39:43 +07:00

14 lines
349 B
Makefile

# step 3: copy package lists and groups as well as installation profiles
# referenced in distro configuration (and only those!)
# over to $(BUILDDIR)
ifeq (,$(BUILDDIR))
$(error BUILDDIR not defined)
endif
# sequential execution, no reason to haste
all:
@for dir in lists groups profiles; do \
$(MAKE) -C $$dir || exit; \
done