[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638411: debian-rules-missing-*-target fooled by variables



Package: lintian
Version: 2.5.2
Severity: normal

I get "certain" error/warnings about missing required/optional targets in the 
following debian/rules:

 -------------------------------------------------
 DEBIAN_TARGETS := clean binary binary-arch binary-indep build build-arch build-indep

 .PHONY: $(DEBIAN_TARGETS)

 $(DEBIAN_TARGETS):
 	dh $@ --parallel
 -------------------------------------------------

I find it handy to use a variable here, so that I can heep the phony target 
list the same as the universal rule at the bottom. And these targets need to be 
phony in order to not interfere with existing files/directories.


Thanks,
    dam

-- System Information:
Debian Release: wheezy/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.utf8, LC_CTYPE=bg_BG.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils              2.21.53.20110805-1 The GNU assembler, linker and bina
ii  bzip2                 1.0.5-6            high-quality block-sorting file co
ii  diffstat              1.54-1             produces graph of changes introduc
ii  file                  5.04-6             Determines file type using "magic"
ii  gettext               0.18.1.1-4         GNU Internationalization utilities
ii  intltool-debian       0.35.0+20060710.1  Help i18n of RFC822 compliant conf
ii  libapt-pkg-perl       0.1.24+b2          Perl interface to libapt-pkg
ii  libclass-accessor-per 0.34-1             Perl module that automatically gen
ii  libdigest-sha-perl    5.62-1             Perl extension for SHA-1/224/256/3
ii  libdpkg-perl          1.16.0.3           Dpkg perl modules
ii  libemail-valid-perl   0.185-1            Perl module for checking the valid
ii  libipc-run-perl       0.90-1             Perl module for running processes
ii  libparse-debianchange 1.2.0-1            parse Debian changelogs and output
ii  libtimedate-perl      1.2000-1           collection of modules to manipulat
ii  liburi-perl           1.59-1             module to manipulate and access UR
ii  locales               2.13-16            Embedded GNU C Library: National L
ii  locales-all [locales] 2.13-16            Embedded GNU C Library: Precompile
ii  man-db                2.6.0.2-2          on-line manual pager
ii  perl [libdigest-sha-p 5.12.4-4           Larry Wall's Practical Extraction 
ii  unzip                 6.0-5              De-archiver for .zip files

lintian recommends no packages.

Versions of packages lintian suggests:
pn  binutils-multiarch <none>                (no description available)
ii  dpkg-dev           1.16.0.3              Debian package development tools
ii  libhtml-parser-per 3.68-1+b1             collection of modules that parse H
ii  libtext-template-p 1.45-2                Text::Template perl module
ii  man-db             2.6.0.2-2             on-line manual pager
ii  xz-utils           5.1.1alpha+20110809-1 XZ-format compression utilities

-- debconf-show failed



Reply to: