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 @@ ...@@ -2,7 +2,6 @@
# (and only those!) over to $(BUILDDIR) # (and only those!) over to $(BUILDDIR)
ifndef BUILDDIR ifndef BUILDDIR
pkgdups: pkgdups:
@find -type f ! -name README ! -name Makefile \ @find -type f ! -name README ! -name Makefile \
| grep -v '~$$' \ | grep -v '~$$' \
...@@ -20,7 +19,7 @@ include $(BUILDDIR)/functions.mk ...@@ -20,7 +19,7 @@ include $(BUILDDIR)/functions.mk
SUFFIX := pkg/lists SUFFIX := pkg/lists
TARGET := $(BUILDDIR)/$(SUFFIX) 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" @mp-commit "$(TARGET)" "requested $(SUFFIX) copied over"
# env | sort -u | grep _LISTS | xargs -r cp -t # env | sort -u | grep _LISTS | xargs -r cp -t
...@@ -30,6 +29,12 @@ copy-lists: ...@@ -30,6 +29,12 @@ copy-lists:
$(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) --
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: PKGDIR = ..
copy-groups: copy-groups:
@echo $(call groups2lists) \ @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