[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.11.2
Modestas Vainius
modax at alioth.debian.org
Sun Mar 13 15:07:40 UTC 2011
The following commit has been merged in the master branch:
commit 719ceed864f0794798b32073939ed4647c32ab79
Author: Modestas Vainius <modestas at vainius.eu>
Date: Sun Mar 13 16:55:15 2011 +0200
Add support for list-missing target to qt-kde-team/2/*.
---
debian/changelog | 1 +
debian/copyright | 7 +++++++
qt-kde-team/2/debian-qt-kde.mk | 3 +++
qt-kde-team/2/list-missing.mk | 39 +++++++++++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8e1f9a2..a879c33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
pkg-kde-tools (0.11.2) UNRELEASED; urgency=low
+ * Add support for list-missing target to qt-kde-team/2/*.
-- Modestas Vainius <modax at debian.org> Sun, 13 Mar 2011 16:49:26 +0200
diff --git a/debian/copyright b/debian/copyright
index 31b248b..2d3e67e 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -55,6 +55,12 @@ The follwing license applies to:
| along with this package; if not, write to the Free Software
| Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ - qt-kde-team/2/list-missing.mk
+
+ Copyright © 2003 Colin Walters <walters at debian.org>
+ Copyright © 2005-2011 Jonas Smedegaard <dr at jones.dk>
+ Copyright © 2010-2011 Modestas Vainius <modax at debian.org>
+
- datalib/Dpkg/*
Copyright © 2007 Raphaël Hertzog <hertzog at debian.org>
@@ -99,6 +105,7 @@ The follwing license applies to:
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL-1'
+
The Debian packaging is:
Copyright © 2008 Sune Vuorela <debian at pusling.com>,
diff --git a/qt-kde-team/2/debian-qt-kde.mk b/qt-kde-team/2/debian-qt-kde.mk
index 23e0ca0..c8504a0 100644
--- a/qt-kde-team/2/debian-qt-kde.mk
+++ b/qt-kde-team/2/debian-qt-kde.mk
@@ -21,6 +21,9 @@ dh := --with=kde,pkgkde-symbolshelper $(dh)
dqk_disable_policy_check ?=
include $(dqk_dir)policy.mk
+# Support list-missing target
+include $(dqk_dir)list-missing.mk
+
# KDE packages are parallel safe. Add --parallel to dh_auto_% commands
$(call set_command_options,dh_auto_%, += --parallel)
diff --git a/qt-kde-team/2/list-missing.mk b/qt-kde-team/2/list-missing.mk
new file mode 100644
index 0000000..026367e
--- /dev/null
+++ b/qt-kde-team/2/list-missing.mk
@@ -0,0 +1,39 @@
+# Copyright © 2003 Colin Walters <walters at debian.org>
+# Copyright © 2005-2011 Jonas Smedegaard <dr at jones.dk>
+# Copyright © 2010-2011 Modestas Vainius <modax at debian.org>
+# Description: Defines various random rules, including a list-missing rule
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+ifdef dqk_dir
+
+list-missing:
+ @if test -d $(dqk_destdir); then \
+ (cd $(dqk_destdir) && 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; \
+ ) | sort -u > debian/dhmk-package-list; \
+ diff -u debian/dhmk-install-list debian/dhmk-package-list | sed '1,2d' | egrep '^-' || true; \
+ else \
+ echo "All files were installed into debian/$(dqk_sourcedir)."; \
+ fi
+
+post-clean:
+ rm -f debian/dhmk-install-list debian/dhmk-package-list
+
+.PHONY: list-missing
+
+endif
--
Debian Qt/KDE packaging tools
More information about the pkg-kde-commits
mailing list