Package: lintian
Version: 1.23.45
Severity: normal
Tags: patch

Hi,

there's another way to ignore the exit code of a failed make. You can
call make with -i to make it ignores errors:

,----[ man make ]---
|    -i, --ignore-errors
|           Ignore all errors in commands executed to remake files.
`----

Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.25-rc3
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils            2.18.1~cvs20080103-1 The GNU assembler, linker and bina
ii  diffstat            1.45-2               produces graph of changes introduc
ii  dpkg-dev            1.14.16.6            package building tools for Debian
ii  file                4.23-2               Determines file type using "magic"
ii  gettext             0.17-2               GNU Internationalization utilities
ii  intltool-debian     0.35.0+20060710.1    Help i18n of RFC822 compliant conf
ii  libparse-debianchan 1.1.1-2              parse Debian changelogs and output
ii  liburi-perl         1.35.dfsg.1-1        Manipulates and accesses URI strin
ii  man-db              2.5.1-2              on-line manual pager
ii  perl [libdigest-md5 5.8.8-12             Larry Wall's Practical Extraction 

lintian recommends no packages.

-- no debconf information
--- /usr/share/lintian/checks/rules	2007-12-04 03:54:18.000000000 +0100
+++ rules	2008-03-02 18:12:33.000000000 +0100
@@ -98,7 +98,8 @@
     if (/\$[\(\{]PWD[\)\}]/) {
         tag "debian-rules-uses-pwd", "line $.";
     }
-    if (/^\t\s*-(?:\$[\(\{]MAKE[\}\)]|make)\s.*(?:dist)?clean/) {
+    if (/^\t\s*-(?:\$[\(\{]MAKE[\}\)]|make)\s.*(?:dist)?clean/ ||
+	/^\t\s*(?:\$[\(\{]MAKE[\}\)]|make)\s(?:.*\s)-[:alpha:]*i.*(?:dist)?clean/) {
         tag "debian-rules-ignores-make-clean-error", "line $.";
     }
 
--- /usr/share/lintian/checks/rules.desc	2008-01-22 06:12:38.000000000 +0100
+++ rules.desc	2008-03-02 18:10:19.000000000 +0100
@@ -51,11 +51,13 @@
  package's clean or distclean target with a line like:
  .
   -$(MAKE) distclean
+ or
+  $(MAKE) -i distclean
  .
- The leading "-" tells make to ignore all errors.  Normally this is done
- for packages using Autoconf since Makefile may not exist.  However, this
- line ignores all other error messages, not just the missing Makefile
- error.  It's better to use:
+ The leading "-" or the option -i tells make to ignore all errors.
+ Normally this is done for packages using Autoconf since Makefile may not
+ exist.  However, this line ignores all other error messages, not just
+ the missing Makefile error.  It's better to use:
  .
   [ ! -f Makefile ] || $(MAKE) distclean
  .

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to