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

Bug#439390: lintian: error debian-rules-ignores-make-clean-error



"Dmitry E. Oboukhov" <dimka@avanto.org> writes:

> Package: lintian
> Version: 1.23.32
> Severity: normal

> lintian produces such warning even if no Makefile contains "distclean"
> target. It would be better if before creating such warning lintian
> execured a command like, for example

> find -name '[Mm]akefile*' -exec grep ^distclean: '{}' +

> and made a desicion of creating a warning only according to the results
> of its execution.

I don't understand why you'd ever run make distclean, ignoring errors or
not, if the Makefile doesn't have a distclean target.  If the Makefile
doesn't have a distclean target, why wouldn't you just remove that line
from debian/rules?

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



Reply to: