[Build-common-hackers] how to avoid duplicate ./configure run with cdbs

Stefano Zacchiroli zack at debian.org
Thu Nov 17 11:02:08 UTC 2005


[ Apologies if this is not a cdbs-user support mailing list, please
  point me to it if it exists, thanks ]

Several of the packages I maintain need to be configure executing some
script ("./configure" or something else), but those script are most of
the time not created via autotools[1].

What is the proper way to handle such packages with cdbs? Actually I use
the makefile class along with something like:

  configure/$(PKGNAME)::
          ./configure

This is unsatisfactory since ./configure is run twice during the build
process: once before building and another time before installing the
package. Should I use the autotools class even if my package does not
build on them?

Finally, while I'm at it another more or less related question: the
execution of ./configure is not tightly related to $(PKGNAME) but is
source package wide. Which target should I use in place of
configure/$(PKGNAME)?

Many thanks in advance (and many thanks for CDBS!)

Cheers

PS please Cc:-me since I'm not subscribed

[1] the reason is that most of the packages I'm talking about are ocaml
    related and the autotools support for ocaml is near to 0

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20051117/e107fa39/attachment.pgp


More information about the Build-common-hackers mailing list