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: ...@@ -27,7 +27,7 @@ copy-lists:
@echo $(sort $(foreach V, \ @echo $(sort $(foreach V, \
$(filter %_LISTS,$(.VARIABLES)), \ $(filter %_LISTS,$(.VARIABLES)), \
$(if $(filter environment% file,$(origin $V)),$($V)))) \ $(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 find $(TARGET) -name 'README' -delete -o -name 'Makefile' -delete
save_packages_to_lists: save_packages_to_lists:
...@@ -46,7 +46,7 @@ check-lists: ...@@ -46,7 +46,7 @@ check-lists:
copy-groups: PKGDIR = .. copy-groups: PKGDIR = ..
copy-groups: copy-groups:
@echo $(sort $(call groups2lists)) \ @echo $(sort $(call groups2lists)) \
| xargs -r -- cp --parents -at $(TARGET) -- | xargs -r -- cp --parents -at $(TARGET) -- || exit 1
grep-archdep: grep-archdep:
@find $(TARGET) -type f \ @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