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

Re: checks/rules returns



Russ Allbery <rra@debian.org> writes:

> checks/rules is now back, using the make -p suggestion from debian-devel
> a while back.  Here are the details on how we run make:

Unfortunately, it looks like running make just isn't something we can do.
This set of flags *almost* works, except that make still runs shell
commands in rules like:

    foo := $(shell echo foo > testing)

Doing that while checking a package seems like asking for trouble to me.
So, I'm taking out the make part (and unfortunately therefore the overall
syntax checking) and just doing a simple parse of the makefile directly in
Perl.  I think that should be sufficient still to catch most of the things
we're concerned with, including missing rules.  (As before, many of these
checks will be skipped if the makefile includes any other makefile.)

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



Reply to: