Re: some good advice for using cvs-buildpackage
On Tue, Mar 13, 2001 at 09:54:19AM +0100, Mikael Hedin wrote:
> How do you cope with packages that use autoconf? I.e. for each compile they
> updates some (Make)files, and the they get into the .diff.gz, even though
> they could (and hence should) be left out.
Packages which use autoconf should remove the Makefiles in their "make clean"
target, which is called by dpkg-buildpackage before running dpkg-source. Any
package that does not do so is broken, and should be fixed.
What I do (to avoid this problem altogether) is to always build my packages
from a fresh checkout (using cvs-buildpackage) once everything is ready. This
way, only changes that are checked into CVS end up in the .diff.gz.