Commit 6bd9a51d authored by Anton Midyukov's avatar Anton Midyukov

pkg.in/lists/Makefile: add subtatget check-lists

Checking lists for unavailable packages.
parent 7398e449
......@@ -2,7 +2,6 @@
# (and only those!) over to $(BUILDDIR)
ifndef BUILDDIR
pkgdups:
@find -type f ! -name README ! -name Makefile \
| grep -v '~$$' \
......@@ -20,7 +19,7 @@ include $(BUILDDIR)/functions.mk
SUFFIX := pkg/lists
TARGET := $(BUILDDIR)/$(SUFFIX)
all: | $(TARGET) $(GLOBAL_DEBUG) copy-lists copy-groups grep-metadep grep-archdep
all: | $(TARGET) $(GLOBAL_DEBUG) copy-lists copy-groups grep-metadep grep-archdep check-lists
@mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"
# env | sort -u | grep _LISTS | xargs -r cp -t
......@@ -30,6 +29,12 @@ copy-lists:
$(if $(filter environment% file,$(origin $V)),$($V))) \
| xargs -r -- cp --parents -at $(TARGET) --
check-lists:
@APTBOX=$(BUILDDIR)/.work/pkgbox/aptbox; \
if [ -d "$$APTBOX" ]; then \
check-pkg-list --aptbox "$$APTBOX" `find $(TARGET) -type f`; \
fi
copy-groups: PKGDIR = ..
copy-groups:
@echo $(call groups2lists) \
......
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