Package: cdbs Version: 0.4.48 Severity: wishlist Tags: patch
Hi! It would be really nice if it was possible to add some files to a list like debian/not-installed to have files that deliberately shouldn't be installed not showing up when running list-missing. The following patch reads debian/not-installed and treats them as installed files when showing the output of list-missing. The following patch also allows lines starting with # to be treated as comments. e.g for team maintained packages to have a short explanation to why a file shouldn't be installed. /Sune --- /usr/share/cdbs/1/rules/utils.mk 2006-12-16 18:31:52.000000000 +0100 +++ utils.mk 2007-05-11 14:32:18.000000000 +0200 @@ -34,6 +34,10 @@ (for package in $(DEB_ALL_PACKAGES); do \ (cd debian/$$package && find . -type f -o -type l); \ done) | sort -u > debian/cdbs-package-list; \ + if test -e debian/not-installed ;\ + then grep -v '^#' debian/not-installed >> debian/cdbs-package-list ; \ + sort -u <debian/cdbs-package-list > debian/cdbs-package-list.tmp ; mv debian/cdbs-package-list.tmp debian/cdbs-package-list ; \ + fi ;\ diff -u debian/cdbs-install-list debian/cdbs-package-list | sed '1,2d' | egrep '^-' || true; \ else \ echo "All files were installed into debian/$(DEB_SOURCE_PACKAGE)."; \ -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (200, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.20-1-vserver-k7 (SMP w/1 CPU core) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/dash cdbs depends on no packages. Versions of packages cdbs recommends: ii autotools-dev 20070306.1 Update infrastructure for config.{ ii debhelper 5.0.49 helper programs for debian/rules -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]