summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaximiliano Curia <maxy@debian.org>2015-03-04 09:46:19 +0100
committerMaximiliano Curia <maxy@debian.org>2015-03-04 09:46:19 +0100
commited78c97b898022c79bf3bceca0816cc1765cc690 (patch)
tree5d3c5133a0ef2549c44b69e43de3c4e8b998e4d1
parent1524098bcd900a19ee34e71cb1e93d1994b9f793 (diff)
downloadpkg-kde-tools-ed78c97b898022c79bf3bceca0816cc1765cc690.tar.gz
Run list-missing by default, allow ~dh_install syntax in not-installed
-rw-r--r--qt-kde-team/3/debian-qt-kde.mk2
-rw-r--r--qt-kde-team/3/list-missing.mk10
2 files changed, 10 insertions, 2 deletions
diff --git a/qt-kde-team/3/debian-qt-kde.mk b/qt-kde-team/3/debian-qt-kde.mk
index 09c290a..5642223 100644
--- a/qt-kde-team/3/debian-qt-kde.mk
+++ b/qt-kde-team/3/debian-qt-kde.mk
@@ -93,6 +93,8 @@ install_to_doc-html_package:
fi
$(foreach t,install-indep install,post_$(t)_dh_install): install_to_doc-html_package
+post_binary: list-missing
+
.PHONY: run_dh_sameversiondep cleanup_manpages install_to_doc-html_package
endif # ifneq ($(dhmk_override_info_mode),yes)
diff --git a/qt-kde-team/3/list-missing.mk b/qt-kde-team/3/list-missing.mk
index 8fb82ac..388d304 100644
--- a/qt-kde-team/3/list-missing.mk
+++ b/qt-kde-team/3/list-missing.mk
@@ -19,15 +19,21 @@
ifdef dqk_dir
list-missing:
- @if test -d debian/tmp; then \
+ @echo "=== Start list-missing"; \
+ if test -d debian/tmp; then \
(cd debian/tmp && find . -type f -o -type l | grep -v '/DEBIAN/' | sort) > debian/dhmk-install-list; \
(for package in $(shell dh_listpackages); do \
(cd debian/$$package && find . -type f -o -type l); \
done; \
- test -e debian/not-installed && grep -v '^#' debian/not-installed; \
+ test -e debian/not-installed && grep -v '^#' debian/not-installed | \
+ while read glob_patt; do \
+ (cd debian/tmp; find . -path ./"$${glob_patt}" '(' -type f -o -type l ')'); \
+ done; \
) | sort -u > debian/dhmk-package-list; \
diff -u debian/dhmk-install-list debian/dhmk-package-list | sed '1,2d' | egrep '^-' || true; \
+ echo "=== End list-missing"; \
else \
+ echo "=== End list-missing"; \
echo "All files were installed into debian/$(shell dh_listpackages | head -n1)."; \
fi