diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | makefiles/1/list-missing.mk | 39 |
2 files changed, 0 insertions, 42 deletions
diff --git a/debian/changelog b/debian/changelog index bc2fc08..850cc97 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,5 @@ pkg-kde-tools (0.15.4~pre3) UNRELEASED; urgency=low - * Add makefiles/1/list-missing.mk; this file is meant to provide the useful - list-missing and check-not-installed targets for kde-extras packages which - are using dh. * Add pkgkde-sortinstall script, it's meant to help sorting debian/*.install files. * Filter out -dbg packages from ${allLibraries} variables. diff --git a/makefiles/1/list-missing.mk b/makefiles/1/list-missing.mk deleted file mode 100644 index 814d7ab..0000000 --- a/makefiles/1/list-missing.mk +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright © 2003 Colin Walters <walters@debian.org> -# Copyright © 2005-2011 Jonas Smedegaard <dr@jones.dk> -# Copyright © 2010-2011 Modestas Vainius <modax@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/>. - -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; \ - ) | 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/$(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" - -.PHONY: list-missing check-not-installed |