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

Re: make -f debian/rules build - does not correctly rebuild files- why?



On Sat, 2016-11-26 at 17:26 +1100, Andrew Worsley wrote:
> I found that rebuilding the kernel package does NOT rebuild  the .o
> files which I found very surprising.
[...]

You should not expect this to work in a Debian package, in general. 
Many source packages create stamp files to record what has already been
built and to avoid invoking the upstream build system unncessarily.

For the linux source package, you can remove those stamps by running:

    rm debian/stamps/build*

Unless you also modify files under debian/config, you should not remove
the other stamp files as that will result in a complete rebuild.

Ben.

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: