Gentoo Archives: gentoo-dev

From: Samuel Bernardo <samuelbernardo.mail@×××××.com>
To: "Michal Prívozník" <mprivozn@××××××.com>, gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: autotools
Date: Thu, 26 Mar 2020 18:36:00
Message-Id: 4576d107-71a1-8f6a-751f-c4ded611ad40@gmail.com
In Reply to: [gentoo-dev] Re: autotools by "Michal Prívozník"
1 Thank you Michal and Haelwenn for your advises.
2
3 I'm taking as reference the documentation about functions syntax in
4 devmanual[1] (very useful for a quickly review).
5
6 In the source code where autoreconf is being called I found a
7 configure.ac and Makefile.am.
8
9 Looking into autogen.sh[2] script prvided by the maintainer I confirm
10 that he runs the following commands:
11
12 - autoreconf -i -f
13
14 - for each supported distribution defines variable extra_opts
15
16 - "${SRC_DIR}/configure" --enable-maintainer-mode --prefix=/usr
17 $extra_opts "$@"
18
19 So it seems that the best approach would be the way you suggested in
20 your example Haelwenn.
21
22 [1] https://devmanual.gentoo.org/eclass-reference/ebuild/index.html
23
24 [2] https://github.com/snapcore/snapd/blob/master/cmd/autogen.sh

Attachments

File name MIME type
signature.asc application/pgp-signature