mkimage-profiles/pkg.in/Makefile
Michael Shigorin bc03cde15e pkg.in: bail out if anything goes wrong
Failing to kaboom just in time can make (and has just made)
it harder to figure out the culprit down the road; e.g.
metadata target's tar(1) might fail to find *some* files
that haven't been copied over due to a single one missing
by that run.
2016-04-01 14:49:17 +03:00

13 lines
302 B
Makefile

# step 3: copy package lists and groups referenced in distro configuration
# (and only those!) over to $(BUILDDIR)
ifndef 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