[opensuse-packaging] Where to add the --add-missing option for automake? In configure.ac?
All, I am working with the GEBC source and updating some of the autoconf/automake files. Generating the files, I need to run automake --add-missing after autoconf to generate the missing ./compile file. I'd like to simply move the --add-missing option into the configure.ac file (or similar) to avoid having the separate call to automake. Current the only automake call in configure.ac is: AM_INIT_AUTOMAKE(gebc,1.07) Where can I add the option so that autoconf generates any of the missing files needed? The automake documentation describes AC_CONFIG_AUX_DIR as being able to specify the default directory for the common files as described: https://www.gnu.org/software/automake/manual/html_node/automake-Invocation.h... https://www.gnu.org/software/automake/manual/html_node/Optional.html#Optiona... But I'm still confused on whether and what I need to add to make this happen? (I'm in no way an autotools expert). Anybody see an easy fix here? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi, On 18 Dec 01:51, David C. Rankin wrote:
All,
I am working with the GEBC source and updating some of the autoconf/automake files. Generating the files, I need to run
automake --add-missing
after autoconf to generate the missing ./compile file. I'd like to simply move the --add-missing option into the configure.ac file (or similar) to avoid having the separate call to automake. Current the only automake call in configure.ac is:
AM_INIT_AUTOMAKE(gebc,1.07)
Where can I add the option so that autoconf generates any of the missing files needed? The automake documentation describes AC_CONFIG_AUX_DIR as being able to specify the default directory for the common files as described:
https://www.gnu.org/software/automake/manual/html_node/automake-Invocation.h...
https://www.gnu.org/software/automake/manual/html_node/Optional.html#Optiona...
But I'm still confused on whether and what I need to add to make this happen? (I'm in no way an autotools expert). Anybody see an easy fix here?
The upstream itself should do this and add the files to repository. However what we usually do is; autoreconf -fi which is will run autoconf and add the missing files in one call. Regards, ismail -- Aus so krummem Holze, als woraus der Mensch gemacht ist, kann nichts ganz Gerades gezimmert werden. — Immanuel Kant SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany GF: Felix Imendörffer (HRB 36809, AG Nürnberg)
On Dez 18 2019, İsmail Dönmez wrote:
The upstream itself should do this and add the files to repository.
Not necessarily to the repository, but surely to the release tarball. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 12/18/2019 02:01 AM, İsmail Dönmez wrote:
The upstream itself should do this and add the files to repository. However what we usually do is;
autoreconf -fi
which is will run autoconf and add the missing files in one call.
Regards, ismail
Thank you Ismail, That will work. I'll pass it along upstream as well. -- David C. Rankin, J.D.,P.E.
participants (3)
-
Andreas Schwab
-
David C. Rankin
-
İsmail Dönmez