[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:

>> 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?

> There is no mention of distclean target/call in Makefile and
> debian/rules. But lintian nevertheless produces a warning.

Could you show me what line of your rules file it's warning about, then?
I don't understand the problem that you're reporting at all.

> This problem is rather political than technical.
> Many DDs conceive lintian messages too seriously and want lintian
> recommendations to be fulfilled before upload. For all that they do not
> accept the variant with overrides.

> If the distclean target is absent, then fulfillment of lintian
> recommendations leads to the necessity of making a patch on Makefile.

I'm afraid that your diagnosis of what's wrong is probably wrong.  This
warning isn't about running make distclean, and it's not triggered by the
lack of a distclean target in your Makefile.  It's produced by a very
particular command in debian/rules that's bad practice and has a simple
replacement.  It's possible that it's triggering on a line that it
shouldn't trigger on.  I need to know more about the package and the line
that's causing the error to understand what the problem really is.

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



Reply to: