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

Re: Problem with a package running "configure"



On Wed, May 11, 2005 at 09:25:27PM -0300, Nelson A. de Oliveira wrote:
> Hi
> 
> I am having a problem... When running "./configure" on a dir with the
> source of a program, it reads 3 files inside the dir "autoconf/make":
> 
> depend.mk~
> filelist.mk~
> modules.mk~
> 
> Everything runs fine, it creates the Makefile and all the things work.
> But, when creating a package (using the default rules included by
> dh-make) or rules file of CDBS (including
> /usr/share/cdbs/1/class/autotools.mk), it don't work! The 3 files ending
> in ~ are deleted (I don't know why).
> I think that they are deleted when dpkg-buildpackage is running the
> configure script.
> 
> When running dpkg-buildpackage, at the end of the configure I get this:
> 
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> sed: can't read ./autoconf/make/filelist.mk~: No such file or directory
> sed: can't read ./autoconf/make/modules.mk~: No such file or directory
> sed: can't read ./autoconf/make/depend.mk~: No such file or directory
> 
> But, before running dpkg-buildpackage, they were all there!
> Running ./configure by hand don't delete the files.
> 
> Does anybody know what could be this?
They're removed by dh_clean, called by the default debian/rules output
by dh_make.

Justin



Reply to: