[Build-common-hackers] Bug#434390: Bug#434390: cdbs: class for generating buildfiles from clean autotool-files

Carl Fürstenberg azatoth at gmail.com
Mon Jul 23 16:05:35 UTC 2007


On 7/23/07, Peter Eisentraut <peter_e at gmx.net> wrote:
> Am Montag, 23. Juli 2007 17:16 schrieb Carl Fürstenberg:
> > One would be if the package is built directly from svn/cvs.
>
> Well, first of all, there is already functionality to rerun the autotools
> in /usr/share/cdbs/1/class/autotools-files.mk.
>
> Furthermore, many packages have some sort of autogen.sh or use autoreconf to
> perform the bootstrapping, whereas your proposal only covers a specific way
> to do that bootstrapping.
>
> And lastly, why would one want to do that?  If you are creating Debian
> packages you would presumably use (or create) a release tarball and build
> from that.
>

There are also situations where you have to change the build system,
(unless there are a rule somewhere that you MUST use the shipped build
system). For example I had a package containing a makefile.in, and I
really didn't know how to update that file correctly, so I changed to
Makefile.am, but then the dpatch-file went 700k. So to accommodate the
rules, I removed all generated files from the source package, and
added a patch for the changes and let the given script handle the
building.

/Carl


More information about the Build-common-hackers mailing list