diff options
author | José Manuel Santamaría Lema <panfaust@gmail.com> | 2011-09-22 18:14:29 +0200 |
---|---|---|
committer | José Manuel Santamaría Lema <panfaust@gmail.com> | 2011-09-22 18:14:29 +0200 |
commit | 3c952109bd8a5000d7e0c7f8627694c99797abc2 (patch) | |
tree | 0d22fe74cdce65714a98b1e560f83002fd49221f /qt-kde-team/2 | |
parent | 356f1589490ac779dcca90d739610c515b731cf6 (diff) | |
download | pkg-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.mk | 10 |
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 |