summaryrefslogtreecommitdiff
path: root/qt-kde-team/2
diff options
context:
space:
mode:
authorJosé Manuel Santamaría Lema <panfaust@gmail.com>2011-09-22 18:14:29 +0200
committerJosé Manuel Santamaría Lema <panfaust@gmail.com>2011-09-22 18:14:29 +0200
commit3c952109bd8a5000d7e0c7f8627694c99797abc2 (patch)
tree0d22fe74cdce65714a98b1e560f83002fd49221f /qt-kde-team/2
parent356f1589490ac779dcca90d739610c515b731cf6 (diff)
downloadpkg-kde-tools-3c952109bd8a5000d7e0c7f8627694c99797abc2.tar.gz
Add check-not-installed target.
Diffstat (limited to 'qt-kde-team/2')
-rw-r--r--qt-kde-team/2/list-missing.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/qt-kde-team/2/list-missing.mk b/qt-kde-team/2/list-missing.mk
index 89a7143..8fb82ac 100644
--- a/qt-kde-team/2/list-missing.mk
+++ b/qt-kde-team/2/list-missing.mk
@@ -31,9 +31,17 @@ list-missing:
echo "All files were installed into debian/$(shell dh_listpackages | head -n1)."; \
fi
+check-not-installed:
+ @test -e debian/not-installed && \
+ (for i in $(shell grep -v '^#' debian/not-installed); do \
+ test -e debian/tmp/$$i || printf "File $$i not found in debian/tmp \n"; \
+ done;) \
+ || printf "ERROR: debian/not-installed not found.\n"
+
+
post_clean:
rm -f debian/dhmk-install-list debian/dhmk-package-list
-.PHONY: list-missing
+.PHONY: list-missing check-not-installed
endif