Commit 831d793f authored by Anton Midyukov's avatar Anton Midyukov

pkg.in/lists/Makefile: abort build, if package list or group not exists

parent 6983d54c
......@@ -27,7 +27,7 @@ copy-lists:
@echo $(sort $(foreach V, \
$(filter %_LISTS,$(.VARIABLES)), \
$(if $(filter environment% file,$(origin $V)),$($V)))) \
|xargs -r -- cp --parents -at $(TARGET) --; \
|xargs -r -- cp --parents -at $(TARGET) -- || exit 1; \
find $(TARGET) -name 'README' -delete -o -name 'Makefile' -delete
save_packages_to_lists:
......@@ -46,7 +46,7 @@ check-lists:
copy-groups: PKGDIR = ..
copy-groups:
@echo $(sort $(call groups2lists)) \
| xargs -r -- cp --parents -at $(TARGET) --
| xargs -r -- cp --parents -at $(TARGET) -- || exit 1
grep-archdep:
@find $(TARGET) -type f \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment