Federico Gimenez Nieto <fgime...@coit.es> writes:

> In a package that uses dpatch (including the snippet
> /usr/share/dpatch/dpatch.make), debian/rules has:

>   clean: unpatch

>   clean-patched: 
>           dh_testdir
>           dh_testroot
>           dh_clean

>   unpatch: clean-patched

> After building, lintian -iIEvXc --pedantic reports:

>   I: libphp-pclzip source: build-depends-without-arch-dep debhelper

> Changing the rules to:

>   clean: clean-patched

>   clean-patched:
>           dh_testdir
>           dh_testroot
>           dh_clean
>           $(MAKE) -f debian/rules unpatch

> the information tag is gone.

Yeah, it's a known flaw in Lintian's parsing of makefiles.  It doesn't
build a full dependency graph.  Instead, it figures out what to look for
by going through linearly.  It requires a fair bit of work to fix.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to