summaryrefslogtreecommitdiff
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
parent356f1589490ac779dcca90d739610c515b731cf6 (diff)
downloadpkg-kde-tools-3c952109bd8a5000d7e0c7f8627694c99797abc2.tar.gz
Add check-not-installed target.
-rw-r--r--debian/changelog4
-rw-r--r--qt-kde-team/2/list-missing.mk10
2 files changed, 13 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 39ec75b..0304a77 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
pkg-kde-tools (0.14.3) UNRELEASED; urgency=low
+ [ Modestas Vainius ]
* SymbolFileCollection.pm: import Dpkg::Arch::debarch_is into proper package.
+ [ José Manuel Santamaría Lema ]
+ * Add check-not-installed target.
+
-- Modestas Vainius <modax@debian.org> Thu, 21 Jul 2011 16:16:36 +0300
pkg-kde-tools (0.14.2) unstable; urgency=low
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